Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6815519847ab0c1d2163c9feea59a37874b0118a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="qmakeEnvProvider" name="%qmakeEnvProvider.name" schema="schema/qmakeEnvProvider.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"
          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>
</plugin>

Back to the top