forked from qt-creator/qt-creator
Fix qbs build on Windows
Change-Id: Ibbc13ca80fbfbb1d8293d8e78b57dab43cbb92b7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
import qbs
|
Project {
|
||||||
|
references: "settings/qmldesignersettings.qbs"
|
||||||
QtcPlugin {
|
QtcPlugin {
|
||||||
name: "QmlDesignerBase"
|
name: "QmlDesignerBase"
|
||||||
|
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
Depends { name: "ProjectExplorer" }
|
Depends { name: "ProjectExplorer" }
|
||||||
|
Depends { name: "QmlDesignerSettings" }
|
||||||
Depends { name: "QtSupport" }
|
Depends { name: "QtSupport" }
|
||||||
Depends { name: "Qt.quickwidgets" }
|
Depends { name: "Qt.quickwidgets" }
|
||||||
Depends { name: "Qt.gui-private" }
|
Depends { name: "Qt.gui-private" }
|
||||||
@@ -44,13 +45,9 @@ QtcPlugin {
|
|||||||
"windowmanager.cpp",
|
"windowmanager.cpp",
|
||||||
"windowmanager.h",
|
"windowmanager.h",
|
||||||
]
|
]
|
||||||
Group {
|
}
|
||||||
prefix: "settings/"
|
Export {
|
||||||
files: [
|
Depends { name: "QmlDesignerSettings" }
|
||||||
"designersettings.cpp",
|
|
||||||
"designersettings.h",
|
|
||||||
"qmldesignersettings_global.h",
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
19
src/plugins/qmldesignerbase/settings/qmldesignersettings.qbs
Normal file
19
src/plugins/qmldesignerbase/settings/qmldesignersettings.qbs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
QtcLibrary {
|
||||||
|
name: "QmlDesignerSettings"
|
||||||
|
type: "staticlibrary"
|
||||||
|
|
||||||
|
Depends { name: "Utils" }
|
||||||
|
|
||||||
|
cpp.defines: base.concat("QMLDESIGNERSETTINGS_STATIC_LIBRARY")
|
||||||
|
|
||||||
|
files: [
|
||||||
|
"qmldesignersettings_global.h",
|
||||||
|
"designersettings.cpp",
|
||||||
|
"designersettings.h",
|
||||||
|
]
|
||||||
|
|
||||||
|
Export {
|
||||||
|
Depends { name: "cpp" }
|
||||||
|
cpp.defines: base.concat("QMLDESIGNERSETTINGS_STATIC_LIBRARY")
|
||||||
|
}
|
||||||
|
}
|
@@ -1,16 +1,20 @@
|
|||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
import qbs.Environment
|
import qbs.Environment
|
||||||
|
|
||||||
QtcPlugin {
|
Project {
|
||||||
|
references: "texteditorsupport.qbs"
|
||||||
|
QtcPlugin {
|
||||||
name: "TextEditor"
|
name: "TextEditor"
|
||||||
|
|
||||||
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "printsupport"] }
|
Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "printsupport"] }
|
||||||
Depends { name: "Aggregation" }
|
Depends { name: "Aggregation" }
|
||||||
|
Depends { name: "TextEditorSupport" }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
Depends { name: "KSyntaxHighlighting" }
|
Depends { name: "KSyntaxHighlighting" }
|
||||||
|
|
||||||
Export {
|
Export {
|
||||||
Depends { name: "KSyntaxHighlighting" }
|
Depends { name: "KSyntaxHighlighting" }
|
||||||
|
Depends { name: "TextEditorSupport" }
|
||||||
}
|
}
|
||||||
|
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
@@ -124,8 +128,6 @@ QtcPlugin {
|
|||||||
"storagesettings.h",
|
"storagesettings.h",
|
||||||
"syntaxhighlighter.cpp",
|
"syntaxhighlighter.cpp",
|
||||||
"syntaxhighlighter.h",
|
"syntaxhighlighter.h",
|
||||||
"tabsettings.cpp",
|
|
||||||
"tabsettings.h",
|
|
||||||
"tabsettingswidget.cpp",
|
"tabsettingswidget.cpp",
|
||||||
"tabsettingswidget.h",
|
"tabsettingswidget.h",
|
||||||
"textdocument.cpp",
|
"textdocument.cpp",
|
||||||
@@ -236,4 +238,5 @@ QtcPlugin {
|
|||||||
"texteditor_test.h",
|
"texteditor_test.h",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
20
src/plugins/texteditor/texteditorsupport.qbs
Normal file
20
src/plugins/texteditor/texteditorsupport.qbs
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
QtcLibrary {
|
||||||
|
name: "TextEditorSupport"
|
||||||
|
type: "staticlibrary"
|
||||||
|
|
||||||
|
Depends { name: "Utils" }
|
||||||
|
|
||||||
|
cpp.defines: base.concat("TEXTEDITORSUPPORT_STATIC_LIBRARY")
|
||||||
|
|
||||||
|
files: [
|
||||||
|
"tabsettings.cpp",
|
||||||
|
"tabsettings.h",
|
||||||
|
"texteditorsupport_global.h",
|
||||||
|
]
|
||||||
|
|
||||||
|
Export {
|
||||||
|
Depends { name: "cpp" }
|
||||||
|
cpp.includePaths: exportingProduct.sourceDirectory
|
||||||
|
cpp.defines: ["TEXTEDITORSUPPORT_STATIC_LIBRARY"]
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user