aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlscene
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-11-14 13:31:06 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-11-15 12:24:51 +0000
commitba494aaa24defe1401f621b791891e696b308756 (patch)
tree3617f29e9625fafbf94609ac79b2decd4033107c /tools/qmlscene
parent91e32f86b53bb930405a58e19c84746ee85cdf89 (diff)
Regenerate all projects with new CMake API version
Change-Id: Ie0db35f674137c229eaf049616f38f8e818f7092 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmlscene')
-rw-r--r--tools/qmlscene/.prev_CMakeLists.txt6
-rw-r--r--tools/qmlscene/CMakeLists.txt6
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/qmlscene/.prev_CMakeLists.txt b/tools/qmlscene/.prev_CMakeLists.txt
index da19ae27bb..c56301e359 100644
--- a/tools/qmlscene/.prev_CMakeLists.txt
+++ b/tools/qmlscene/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## qmlscene Tool:
#####################################################################
-add_qt_tool(qmlscene
+qt_add_tool(qmlscene
SOURCES
main.cpp
DEFINES
@@ -25,12 +25,12 @@ add_qt_tool(qmlscene
## Scopes:
#####################################################################
-extend_target(qmlscene CONDITION TARGET Qt::Widgets
+qt_extend_target(qmlscene CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
)
-extend_target(qmlscene CONDITION QT_FEATURE_qml_debug
+qt_extend_target(qmlscene CONDITION QT_FEATURE_qml_debug
DEFINES
QT_QML_DEBUG_NO_WARNING
)
diff --git a/tools/qmlscene/CMakeLists.txt b/tools/qmlscene/CMakeLists.txt
index 1414009587..4212c627d4 100644
--- a/tools/qmlscene/CMakeLists.txt
+++ b/tools/qmlscene/CMakeLists.txt
@@ -4,7 +4,7 @@
## qmlscene Tool:
#####################################################################
-add_qt_tool(qmlscene
+qt_add_tool(qmlscene
TOOLS_TARGET Qml # special case
SOURCES
main.cpp
@@ -26,12 +26,12 @@ add_qt_tool(qmlscene
## Scopes:
#####################################################################
-extend_target(qmlscene CONDITION TARGET Qt::Widgets
+qt_extend_target(qmlscene CONDITION TARGET Qt::Widgets
PUBLIC_LIBRARIES
Qt::Widgets
)
-extend_target(qmlscene CONDITION QT_FEATURE_qml_debug
+qt_extend_target(qmlscene CONDITION QT_FEATURE_qml_debug
DEFINES
QT_QML_DEBUG_NO_WARNING
)