aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 14:09:06 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 15:51:40 +0200
commit0f19f571ee307dbe5fdebeb489d0c6cfcc8fa5ef (patch)
tree838ebcbebc0429dfeba724a1b052e577f5908b06 /tools/qmlprofiler
parent360a22838a9f6127702c35d9feb67560692df128 (diff)
CMake: Regenerate projects
We need the qt_add_tool changes to successfully configure qemu builds. The rest of the changes are just to be in sync with the .pro files. Change-Id: I7bcc08ac58f57a5761aedef09761428c55235289 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tools/qmlprofiler')
-rw-r--r--tools/qmlprofiler/.prev_CMakeLists.txt3
-rw-r--r--tools/qmlprofiler/CMakeLists.txt3
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/qmlprofiler/.prev_CMakeLists.txt b/tools/qmlprofiler/.prev_CMakeLists.txt
index 7969714e8a..27121615bd 100644
--- a/tools/qmlprofiler/.prev_CMakeLists.txt
+++ b/tools/qmlprofiler/.prev_CMakeLists.txt
@@ -4,7 +4,8 @@
## qmlprofiler Tool:
#####################################################################
-qt_add_tool(qmlprofiler
+qt_get_tool_target_name(target_name qmlprofiler)
+qt_add_tool(${target_name}
TARGET_DESCRIPTION "QML Profiler"
SOURCES
commandlistener.cpp commandlistener.h
diff --git a/tools/qmlprofiler/CMakeLists.txt b/tools/qmlprofiler/CMakeLists.txt
index 79c1b732ee..77943aa397 100644
--- a/tools/qmlprofiler/CMakeLists.txt
+++ b/tools/qmlprofiler/CMakeLists.txt
@@ -4,7 +4,8 @@
## qmlprofiler Tool:
#####################################################################
-qt_add_tool(qmlprofiler
+qt_get_tool_target_name(target_name qmlprofiler)
+qt_add_tool(${target_name}
TARGET_DESCRIPTION "QML Profiler"
TOOLS_TARGET Qml # special case
SOURCES