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
|
import qbs 1.0
import qbs.FileInfo
QtcPlugin {
name: "Designer"
Depends {
name: "Qt"
submodules: ["widgets", "xml", "printsupport", "designer", "designercomponents-private"]
}
Depends { name: "CPlusPlus" }
Depends { name: "Utils" }
Depends { name: "Core" }
Depends { name: "CppEditor" }
Depends { name: "ResourceEditor" }
Depends { name: "TextEditor" }
Depends { name: "ProjectExplorer" }
Depends { name: "QtSupport" }
pluginTestDepends: [
"CppEditor",
]
cpp.includePaths: base.concat([
sharedSources.prefix
])
pluginjson.replacements: ({"DESIGNER_PLUGIN_ARGUMENTS":
"\"Arguments\" : [\n\
{\n\
\"Name\" : \"-designer-qt-pluginpath\",\n\
\"Parameter\" : \"path\",\n\
\"Description\" : \"Override the default search path for Qt Widgets Designer plugins\"\n\
},\n\
{\n\
\"Name\" : \"-designer-pluginpath\",\n\
\"Parameter\" : \"path\",\n\
\"Description\" : \"Add a custom search path for Qt Widgets Designer plugins\"\n\
}\n\
],"})
Group {
name: "General"
files: [
"README.txt",
"codemodelhelpers.cpp", "codemodelhelpers.h",
"designer_export.h",
"designerconstants.h",
"designerplugin.cpp",
"designertr.h",
"editordata.h",
"editorwidget.cpp", "editorwidget.h",
"formeditorfactory.cpp", "formeditorfactory.h",
"formeditorstack.cpp", "formeditorstack.h",
"formeditor.cpp", "formeditor.h",
"formtemplatewizardpage.cpp", "formtemplatewizardpage.h",
"formwindoweditor.cpp", "formwindoweditor.h",
"formwindowfile.cpp", "formwindowfile.h",
"qtcreatorintegration.cpp", "qtcreatorintegration.h",
"qtdesignerformclasscodegenerator.cpp", "qtdesignerformclasscodegenerator.h",
"resourcehandler.cpp", "resourcehandler.h",
"settingsmanager.cpp", "settingsmanager.h",
"settingspage.cpp", "settingspage.h",
]
}
Group {
name: "Shared Sources"
id: sharedSources
prefix: project.sharedSourcesDir + "/designerintegrationv2/"
files: [
"formresizer.cpp", "formresizer.h",
"sizehandlerect.cpp", "sizehandlerect.h",
"widgethost.cpp", "widgethost.h",
"widgethostconstants.h",
]
}
Group {
name: "cpp"
prefix: "cpp/"
files: [
"formclasswizard.cpp", "formclasswizard.h",
"formclasswizarddialog.cpp", "formclasswizarddialog.h",
"formclasswizardpage.cpp", "formclasswizardpage.h",
"formclasswizardparameters.cpp", "formclasswizardparameters.h",
"newclasswidget.cpp", "newclasswidget.h",
]
}
QtcTestFiles {
files: [ "gotoslot_test.cpp" ]
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])
}
}
|