aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlscene
diff options
context:
space:
mode:
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
)