aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/componentsplugin
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-05-11 15:51:15 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-05-17 14:38:56 +0000
commitf72c927b37a6bf3133d851c14537d13ddd0a7de9 (patch)
tree2b14dd9c311c300c4888646addbc75fb7fcab610 /src/plugins/qmldesigner/componentsplugin
parentad55f0bd8494aa9045c5646e13d408c7657aea68 (diff)
qbs build: Un-break and re-add QmlDesigner product.
Change-Id: I2d4c069ef2d566ed466f0ba6a4f24a90ea6ffba9 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmldesigner/componentsplugin')
-rw-r--r--src/plugins/qmldesigner/componentsplugin/componentsplugin.qbs65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/componentsplugin/componentsplugin.qbs b/src/plugins/qmldesigner/componentsplugin/componentsplugin.qbs
new file mode 100644
index 00000000000..896fcf65306
--- /dev/null
+++ b/src/plugins/qmldesigner/componentsplugin/componentsplugin.qbs
@@ -0,0 +1,65 @@
+import qbs
+
+QtcProduct {
+ name: "componentsplugin"
+ type: ["dynamiclibrary"]
+ installDir: project.ide_plugin_path + '/' + installDirName
+ property string installDirName: qbs.targetOS.contains("osx") ? "QmlDesigner" : "qmldesigner"
+
+ Depends { name: "Core" }
+ Depends { name: "QmlDesigner" }
+ Depends { name: "Utils" }
+ Depends { name: "Qt.qml" }
+
+ cpp.defines: base.concat("COMPONENTS_LIBRARY")
+ cpp.includePaths: base.concat([
+ "..",
+ "../components/componentcore",
+ "../components/debugview",
+ "../components/formeditor",
+ "../components/importmanager",
+ "../components/integration",
+ "../components/itemlibrary",
+ "../components/logger",
+ "../components/navigator",
+ "../components/propertyeditor",
+ "../components/stateseditor",
+ "../designercore",
+ "../designercore/include",
+ "../../../../share/qtcreator/qml/qmlpuppet/interfaces",
+ "../../../../share/qtcreator/qml/qmlpuppet/types",
+ ])
+
+ Group {
+ name: "controls"
+ files: ["Controls/*.qml"]
+ }
+
+ Group {
+ name: "images"
+ files: ["images/*.png"]
+ }
+
+ Group {
+ name: "plugin metadata"
+ files: ["componentsplugin.json"]
+ fileTags: ["qt_plugin_metadata"]
+ }
+
+ files: [
+ "addtabdesigneraction.cpp",
+ "addtabdesigneraction.h",
+ "addtabtotabviewdialog.ui",
+ "addtabtotabviewdialog.cpp",
+ "addtabtotabviewdialog.h",
+ "components.metainfo",
+ "componentsplugin.cpp",
+ "componentsplugin.h",
+ "componentsplugin.qrc",
+ "entertabdesigneraction.cpp",
+ "entertabdesigneraction.h",
+ "tabviewindexmodel.cpp",
+ "tabviewindexmodel.h",
+ "../designercore/include/iwidgetplugin.h",
+ ]
+}