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
Pick-to: 6.2 6.3
Change-Id: I25a3ca9fd9d5efd2d6906087f1580b2679e6745f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Juha Vuolle 2022-02-15 11:41:21 +02:00
parent f6b039681a
commit f3536a202e
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,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)