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",
|
||||
"languageutils/languageutils.qbs",
|
||||
"modelinglib/modelinglib.qbs",
|
||||
"nanotrace/nanotrace.qbs",
|
||||
"qmleditorwidgets/qmleditorwidgets.qbs",
|
||||
"qmljs/qmljs.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: "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",
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user