mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-29 03:03:10 +02:00

Clean up cases when Qt installs aren't registered for a given config. Fix bug on first scanner info request in build config. Clean up the Qt Run launch delegate in extension. Also added a method to GDBLaunch to allow subclasses to override what the default gdb path is. Change-Id: Icf158633e1c1327cc87ce59c1605bb26258f8708
207 lines
7.8 KiB
XML
207 lines
7.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.4"?>
|
|
<plugin>
|
|
<extension-point id="qtInstallTargetMapper" name="Qt Install Target Mapper" schema="schema/qtInstallTargetMapper.exsd"/>
|
|
|
|
<extension
|
|
point="org.eclipse.cdt.core.templates">
|
|
<template
|
|
filterPattern=".*g\+\+"
|
|
id="org.eclipse.cdt.qt.core.template.helloWorld.Qt5"
|
|
location="templates/project/Qt5/template.xml"
|
|
projectType="org.eclipse.cdt.build.makefile.projectType"/>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.cdt.core.templateAssociations">
|
|
<template id="org.eclipse.cdt.qt.core.template.helloWorld.Qt5">
|
|
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.base"/>
|
|
<toolChain id="cdt.managedbuild.toolchain.gnu.base"/>
|
|
<toolChain id="cdt.managedbuild.toolchain.llvm.clang.macosx.base"/>
|
|
</template>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.core.contenttype.contentTypes">
|
|
<content-type
|
|
base-type="org.eclipse.core.runtime.text"
|
|
file-extensions="pro"
|
|
id="qtProjectFile"
|
|
name="%qtProjectFile.name"
|
|
priority="normal">
|
|
</content-type>
|
|
<content-type
|
|
base-type="org.eclipse.core.runtime.text"
|
|
file-extensions="qml"
|
|
id="qmlFile"
|
|
name="%qmlFile.name"
|
|
priority="normal">
|
|
</content-type>
|
|
<content-type
|
|
base-type="org.eclipse.core.runtime.xml"
|
|
file-extensions="qrc"
|
|
id="qrcFile"
|
|
name="%qrcFile.name"
|
|
priority="normal">
|
|
</content-type>
|
|
</extension>
|
|
<extension
|
|
id="qtNature"
|
|
point="org.eclipse.core.resources.natures">
|
|
<runtime>
|
|
<run
|
|
class="org.eclipse.cdt.internal.qt.core.QtNature">
|
|
</run>
|
|
</runtime>
|
|
<builder
|
|
id="org.eclipse.cdt.qt.core.qtBuilder">
|
|
</builder>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.cdt.core.PDOMASTProcessor"
|
|
id="qt.PDOMASTProcessor"
|
|
name="Qt PDOM AST Processor">
|
|
<processor
|
|
class="org.eclipse.cdt.internal.qt.core.pdom.QtPDOMASTProcessor">
|
|
<enablement>
|
|
<with variable="projectNatures">
|
|
<iterate operator="or">
|
|
<equals value="org.eclipse.cdt.qt.core.qtNature"/>
|
|
</iterate>
|
|
</with>
|
|
</enablement>
|
|
</processor>
|
|
</extension>
|
|
<extension point="org.eclipse.cdt.core.language">
|
|
<pdomLinkageFactory
|
|
id="Qt"
|
|
class="org.eclipse.cdt.internal.qt.core.pdom.PDOMQtLinkageFactory"/>
|
|
</extension>
|
|
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
|
<provider
|
|
class="org.eclipse.cdt.internal.qt.core.QtIncludePathsProvider"
|
|
id="org.eclipse.cdt.qt.core.QtPathsProvider"
|
|
name="%QtInstallHeaders.pathProvider.name"
|
|
prefer-non-shared="false">
|
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
|
</provider>
|
|
</extension>
|
|
<extension point="org.eclipse.core.expressions.definitions">
|
|
<definition id="org.eclipse.cdt.qt.core.isQtProject">
|
|
<with variable="projectNatures">
|
|
<iterate operator="or">
|
|
<equals value="org.eclipse.cdt.qt.core.qtNature"/>
|
|
</iterate>
|
|
</with>
|
|
</definition>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.cdt.codan.core.checkers"
|
|
id="org.eclipse.cdt.core.qt.SyntaxCheckers">
|
|
<category
|
|
id="org.eclipse.cdt.qt.core.qtproblemcategory"
|
|
name="Qt Problems">
|
|
</category>
|
|
<checker
|
|
id="org.eclipse.cdt.core.qt.connectfunctioncallchecker"
|
|
name="Qt Connect Function Call Checker"
|
|
class="org.eclipse.cdt.internal.qt.core.codan.QtSyntaxChecker">
|
|
<problem
|
|
category="org.eclipse.cdt.qt.core.qtproblemcategory"
|
|
defaultEnabled="true"
|
|
defaultSeverity="Warning"
|
|
id="org.eclipse.cdt.qt.core.qtproblem"
|
|
markerType="org.eclipse.cdt.qt.core.qtproblem"
|
|
messagePattern="{0}"
|
|
name="Qt Syntax Problem">
|
|
</problem>
|
|
</checker>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.core.resources.markers"
|
|
id="qtproblem"
|
|
name="Qt C/C++ Problem">
|
|
<super type="org.eclipse.cdt.codan.core.codanProblem"/>
|
|
<persistent value="true"/>
|
|
</extension>
|
|
<extension
|
|
id="qtBuilder"
|
|
name="Qt Builder"
|
|
point="org.eclipse.core.resources.builders">
|
|
<builder
|
|
callOnEmptyDelta="true"
|
|
hasNature="true"
|
|
isConfigurable="true"
|
|
supportsConfigurations="true">
|
|
<run
|
|
class="org.eclipse.cdt.internal.qt.core.build.QtBuilder">
|
|
</run></builder>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.launchbar.core.launchBarContributions">
|
|
<descriptorType
|
|
class="org.eclipse.cdt.internal.qt.core.launch.QtLaunchDescriptorType"
|
|
id="org.eclipse.cdt.qt.core.launchDescriptorType"
|
|
priority="10">
|
|
<enablement>
|
|
<instanceof
|
|
value="org.eclipse.core.resources.IProject">
|
|
</instanceof>
|
|
<test
|
|
forcePluginActivation="true"
|
|
property="org.eclipse.core.resources.projectNature"
|
|
value="org.eclipse.cdt.qt.core.qtNature">
|
|
</test>
|
|
</enablement>
|
|
</descriptorType>
|
|
<configProvider
|
|
class="org.eclipse.cdt.internal.qt.core.launch.QtLocalLaunchConfigationProvider"
|
|
descriptorType="org.eclipse.cdt.qt.core.launchDescriptorType"
|
|
priority="10">
|
|
</configProvider>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.cdt.core.ScannerInfoProvider2">
|
|
<provider
|
|
builder="org.eclipse.cdt.qt.core.qtBuilder"
|
|
class="org.eclipse.cdt.internal.qt.core.build.QtScannerInfoProvider">
|
|
</provider>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.core.runtime.adapters">
|
|
<factory
|
|
adaptableType="org.eclipse.core.resources.IBuildConfiguration"
|
|
class="org.eclipse.cdt.internal.qt.core.build.QtBuildConfigurationFactory">
|
|
<adapter
|
|
type="org.eclipse.cdt.qt.core.QtBuildConfiguration">
|
|
</adapter>
|
|
</factory>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.cdt.qt.core.qtInstallTargetMapper">
|
|
<mapper
|
|
class="org.eclipse.cdt.internal.qt.core.LocalQtInstallTargetMapper"
|
|
targetTypeId="org.eclipse.launchbar.core.launchTargetType.local">
|
|
</mapper>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.debug.core.launchConfigurationTypes">
|
|
<launchConfigurationType
|
|
delegate="org.eclipse.cdt.internal.qt.core.launch.QtLocalRunLaunchConfigDelegate"
|
|
id="org.eclipse.cdt.qt.core.launchConfigurationType"
|
|
modes="run"
|
|
name="Qt Local Application"
|
|
public="true"
|
|
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
|
|
</launchConfigurationType>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.debug.core.launchDelegates">
|
|
<launchDelegate
|
|
delegate="org.eclipse.cdt.internal.qt.core.launch.QtLocalDebugLaunchConfigDelegate"
|
|
id="org.eclipse.cdt.qt.core.launchDelegate.debug.local"
|
|
modes="debug"
|
|
name="Qt Local Debug launcher"
|
|
type="org.eclipse.cdt.qt.core.launchConfigurationType">
|
|
</launchDelegate>
|
|
</extension>
|
|
</plugin>
|