aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2022-02-15 11:41:21 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-17 09:10:06 +0000
commitbd47570c0fbf4d2232deb9c1c56e3dfd9c8f6c3b (patch)
tree0667ceaea95586f63d76f388cfc9f86b6339544c
parent6b6baae740e52c1b92fda9fcd6817ca9f26a4011 (diff)
Disable qmljs on iOS build
When compiling for iOS the linking of qmljs tool fails with: Undefined symbols for architecture arm64 "_qt_main_wrapper" Fixes: QTBUG-100855 Change-Id: I25a3ca9fd9d5efd2d6906087f1580b2679e6745f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit f3536a202ea124c91dc1ab53bd5c40cdb9b693e7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tools/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 8e2a64f718..0d7a7cddc6 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -55,7 +55,7 @@ endif()
if(QT_FEATURE_thread AND TARGET Qt::QuickTest AND NOT ANDROID AND NOT WASM AND NOT rtems)
add_subdirectory(qmltestrunner)
endif()
-if(QT_FEATURE_private_tests AND QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND NOT rtems)
+if(QT_FEATURE_private_tests AND QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND NOT IOS AND NOT rtems)
add_subdirectory(qmljs)
endif()
if (QT_FEATURE_private_tests AND NOT CMAKE_CROSSCOMPILING)