forked from qt-creator/qt-creator
qbs build: Export relevant include paths from QmlDesigner product.
Change-Id: I79dc9a02cd5d2450ee733dc83d5dc8f103783b15 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -2,9 +2,12 @@ import qbs 1.0
|
|||||||
|
|
||||||
import QtcPlugin
|
import QtcPlugin
|
||||||
|
|
||||||
QtcPlugin {
|
Project {
|
||||||
name: "QmlDesigner"
|
name: "QmlDesigner"
|
||||||
|
|
||||||
|
QtcDevHeaders { }
|
||||||
|
|
||||||
|
QtcPlugin {
|
||||||
Depends {
|
Depends {
|
||||||
name: "Qt";
|
name: "Qt";
|
||||||
submodules: [
|
submodules: [
|
||||||
@@ -55,6 +58,15 @@ QtcPlugin {
|
|||||||
|
|
||||||
Export {
|
Export {
|
||||||
Depends { name: "QmlJS" }
|
Depends { name: "QmlJS" }
|
||||||
|
cpp.includePaths: base.concat([
|
||||||
|
".",
|
||||||
|
"components/componentcore",
|
||||||
|
"components/formeditor",
|
||||||
|
"components/integration",
|
||||||
|
"designercore",
|
||||||
|
"designercore/include",
|
||||||
|
project.ide_source_tree + "/share/qtcreator/qml/qmlpuppet/interfaces",
|
||||||
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
@@ -624,3 +636,4 @@ QtcPlugin {
|
|||||||
"styledoutputpaneplaceholder.h",
|
"styledoutputpaneplaceholder.h",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user