forked from qt-creator/qt-creator
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:
committed by
Christian Stenger
parent
43a9423a9b
commit
9def720ef6
@@ -15,6 +15,7 @@ Project {
|
|||||||
"languageserverprotocol/languageserverprotocol.qbs",
|
"languageserverprotocol/languageserverprotocol.qbs",
|
||||||
"languageutils/languageutils.qbs",
|
"languageutils/languageutils.qbs",
|
||||||
"modelinglib/modelinglib.qbs",
|
"modelinglib/modelinglib.qbs",
|
||||||
|
"nanotrace/nanotrace.qbs",
|
||||||
"qmleditorwidgets/qmleditorwidgets.qbs",
|
"qmleditorwidgets/qmleditorwidgets.qbs",
|
||||||
"qmljs/qmljs.qbs",
|
"qmljs/qmljs.qbs",
|
||||||
"qmldebug/qmldebug.qbs",
|
"qmldebug/qmldebug.qbs",
|
||||||
|
16
src/libs/nanotrace/nanotrace.qbs
Normal file
16
src/libs/nanotrace/nanotrace.qbs
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
@@ -15,6 +15,7 @@ Project {
|
|||||||
}
|
}
|
||||||
Depends { name: "AdvancedDockingSystem" }
|
Depends { name: "AdvancedDockingSystem" }
|
||||||
Depends { name: "Core" }
|
Depends { name: "Core" }
|
||||||
|
Depends { name: "Nanotrace"; required: false }
|
||||||
Depends { name: "QmlJS" }
|
Depends { name: "QmlJS" }
|
||||||
Depends { name: "QmlEditorWidgets" }
|
Depends { name: "QmlEditorWidgets" }
|
||||||
Depends { name: "TextEditor" }
|
Depends { name: "TextEditor" }
|
||||||
@@ -154,6 +155,8 @@ Project {
|
|||||||
"commands/endpuppetcommand.h",
|
"commands/endpuppetcommand.h",
|
||||||
"commands/informationchangedcommand.cpp",
|
"commands/informationchangedcommand.cpp",
|
||||||
"commands/informationchangedcommand.h",
|
"commands/informationchangedcommand.h",
|
||||||
|
"commands/nanotracecommand.cpp",
|
||||||
|
"commands/nanotracecommand.h",
|
||||||
"commands/pixmapchangedcommand.cpp",
|
"commands/pixmapchangedcommand.cpp",
|
||||||
"commands/pixmapchangedcommand.h",
|
"commands/pixmapchangedcommand.h",
|
||||||
"commands/puppetalivecommand.cpp",
|
"commands/puppetalivecommand.cpp",
|
||||||
|
@@ -6,6 +6,7 @@ QtcTool {
|
|||||||
installDir: qbs.targetOS.contains("macos")
|
installDir: qbs.targetOS.contains("macos")
|
||||||
? qtc.ide_libexec_path + "/qmldesigner" : qtc.ide_libexec_path
|
? qtc.ide_libexec_path + "/qmldesigner" : qtc.ide_libexec_path
|
||||||
|
|
||||||
|
Depends { name: "Nanotrace"; required: false }
|
||||||
Depends { name: "Utils" }
|
Depends { name: "Utils" }
|
||||||
Depends { name: "bundle" }
|
Depends { name: "bundle" }
|
||||||
Depends {
|
Depends {
|
||||||
@@ -88,6 +89,8 @@ QtcTool {
|
|||||||
"commands/endpuppetcommand.h",
|
"commands/endpuppetcommand.h",
|
||||||
"commands/informationchangedcommand.cpp",
|
"commands/informationchangedcommand.cpp",
|
||||||
"commands/informationchangedcommand.h",
|
"commands/informationchangedcommand.h",
|
||||||
|
"commands/nanotracecommand.cpp",
|
||||||
|
"commands/nanotracecommand.h",
|
||||||
"commands/pixmapchangedcommand.cpp",
|
"commands/pixmapchangedcommand.cpp",
|
||||||
"commands/pixmapchangedcommand.h",
|
"commands/pixmapchangedcommand.h",
|
||||||
"commands/puppetalivecommand.cpp",
|
"commands/puppetalivecommand.cpp",
|
||||||
|
Reference in New Issue
Block a user