diff options
author | Juha Vuolle <juha.vuolle@insta.fi> | 2022-02-15 11:41:21 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-16 21:02:18 +0000 |
commit | 114f2c8ffca2a2938ecf65846aa18639d28002a5 (patch) | |
tree | 480a6500ee9fc09e20c70383b5e11598a620ba4a | |
parent | 6cd15188d49a02108fa70e2244bc9f3a655c9cfa (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.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index e4fbb589f4..c12152343d 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -59,7 +59,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) |