aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-05-11 09:48:41 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-04 09:14:15 +0000
commita41c49c705981f0dd5e6dec19e56f30e995f973c (patch)
tree758f75098df7e0f0c5a22bdacfc888daa0ce0e37 /tools
parent6351f16b68b488a0b020e19825c95b4369ad93b0 (diff)
Re-add qmlprofiler qmleasing and qmlplugindump to default target
I don't know what the CI is doing there, but fundamentally you cannot remove those tools from the default target and then install them. Apparently they were removed from the default target because they don't work on iOS. Well, they indeed don't work on iOS. Let's make that explicit instead. Amends commit c1ae217a52ace4b955577bf0aaf1c4c8afb8b81b Change-Id: I3759b03425fcdfc604483632f28be2748fe0efdb Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 53ee2748ac05534dab895bab19449a3d5207900a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/CMakeLists.txt25
1 files changed, 16 insertions, 9 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 0d7a7cddc6..0169ce1965 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -1,12 +1,5 @@
# Generated from tools.pro.
-
-qt_exclude_tool_directories_from_default_target(
- qmlprofiler
- qmlplugindump
- qmleasing
-)
-
if(QT_FEATURE_qml_devtools)
add_subdirectory(qmldom)
add_subdirectory(qmllint)
@@ -23,7 +16,12 @@ endif()
if(QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND NOT IOS AND NOT rtems)
add_subdirectory(qml)
endif()
-if(QT_FEATURE_qml_profiler AND QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND NOT rtems)
+if(QT_FEATURE_qml_profiler
+ AND QT_FEATURE_thread
+ AND NOT ANDROID
+ AND NOT IOS
+ AND NOT WASM
+ AND NOT rtems)
add_subdirectory(qmlprofiler)
endif()
if(QT_FEATURE_qml_preview AND QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND NOT IOS AND NOT rtems)
@@ -33,7 +31,15 @@ if(QT_BUILD_SHARED_LIBS AND QT_FEATURE_thread AND TARGET Qt::Quick AND NOT ANDRO
add_subdirectory(qmlscene)
add_subdirectory(qmltime)
endif()
-if(QT_BUILD_SHARED_LIBS AND QT_FEATURE_process AND QT_FEATURE_regularexpression AND QT_FEATURE_thread AND TARGET Qt::Quick AND NOT ANDROID AND NOT WASM AND NOT rtems)
+if(QT_BUILD_SHARED_LIBS
+ AND QT_FEATURE_process
+ AND QT_FEATURE_regularexpression
+ AND QT_FEATURE_thread
+ AND TARGET Qt::Quick
+ AND NOT ANDROID
+ AND NOT IOS
+ AND NOT WASM
+ AND NOT rtems)
add_subdirectory(qmlplugindump)
endif()
if(TARGET Qt::Quick
@@ -48,6 +54,7 @@ if(TARGET Qt::Quick
AND QT_FEATURE_spinbox
AND QT_FEATURE_textedit
AND NOT ANDROID
+ AND NOT IOS
AND NOT WASM
AND NOT rtems)
add_subdirectory(qmleasing)