Fix qbs build

Change-Id: I14251eae0bba2849c2049cf9a2020168c26cb24e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2022-01-25 17:00:25 +01:00
committed by Christian Stenger
parent 43a9423a9b
commit 9def720ef6
4 changed files with 23 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ Project {
"languageserverprotocol/languageserverprotocol.qbs",
"languageutils/languageutils.qbs",
"modelinglib/modelinglib.qbs",
"nanotrace/nanotrace.qbs",
"qmleditorwidgets/qmleditorwidgets.qbs",
"qmljs/qmljs.qbs",
"qmldebug/qmldebug.qbs",

View File

@@ -0,0 +1,16 @@
QtcLibrary {
name: "Nanotrace"
cpp.defines: base.concat("NANOTRACE_LIBRARY", "NANOTRACE_ENABLED")
cpp.visibility: "default"
files: [
"nanotrace.cpp",
"nanotrace.h",
]
Export {
Depends { name: "cpp" }
cpp.defines: "NANOTRACE_ENABLED"
}
}

View File

@@ -15,6 +15,7 @@ Project {
}
Depends { name: "AdvancedDockingSystem" }
Depends { name: "Core" }
Depends { name: "Nanotrace"; required: false }
Depends { name: "QmlJS" }
Depends { name: "QmlEditorWidgets" }
Depends { name: "TextEditor" }
@@ -154,6 +155,8 @@ Project {
"commands/endpuppetcommand.h",
"commands/informationchangedcommand.cpp",
"commands/informationchangedcommand.h",
"commands/nanotracecommand.cpp",
"commands/nanotracecommand.h",
"commands/pixmapchangedcommand.cpp",
"commands/pixmapchangedcommand.h",
"commands/puppetalivecommand.cpp",

View File

@@ -6,6 +6,7 @@ QtcTool {
installDir: qbs.targetOS.contains("macos")
? qtc.ide_libexec_path + "/qmldesigner" : qtc.ide_libexec_path
Depends { name: "Nanotrace"; required: false }
Depends { name: "Utils" }
Depends { name: "bundle" }
Depends {
@@ -88,6 +89,8 @@ QtcTool {
"commands/endpuppetcommand.h",
"commands/informationchangedcommand.cpp",
"commands/informationchangedcommand.h",
"commands/nanotracecommand.cpp",
"commands/nanotracecommand.h",
"commands/pixmapchangedcommand.cpp",
"commands/pixmapchangedcommand.h",
"commands/puppetalivecommand.cpp",