Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 Beta3
-
None
-
-
d47278fd09f73ddc34011ab980dafc23aa453e71 (qt/qtbase/dev) 96b4bbf2cf010da44bb88a4b98193c902066557a (qt/qtbase/6.2)
Description
Configuring qtdeclarative with tests enabled doesn't work, the following error is thrown by CMake
> ../../qtbase/libexec/qt-internal-configure-tests ~/sources/qt6/qt6/qtdeclarative -- The CXX compiler identification is Clang 11.0.5 -- The C compiler identification is Clang 11.0.5 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Users/assam/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/assam/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Check if linker can resolve circular dependencies - TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Performing Test HAVE_EGL -- Performing Test HAVE_EGL - Success -- Found EGL: /Users/assam/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include (found version "1.5") -- Performing Test HAVE_GLESv2 -- Performing Test HAVE_GLESv2 - Success -- Using Android SDK API android-29 from /Users/assam/Library/Android/sdk/platforms -- Found Java: /usr/bin/java (found suitable version "11.0.9", minimum required is "1.8") found components: Development -- Check for feature set changes -- Found PythonInterp: /usr/bin/python (found version "2.7.16") -- Found GLESv2: /Users/assam/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -- Setting local standalone test install prefix (non-cached) to '/Users/assam/sources/qt6/build-debug/android_armv7/qtdeclarative/tests/fake_prefix'. CMAKE_VERSION: 3.19.1 CMAKE_PREFIX_PATH: /Users/assam/sources/qt6/build-debug/android_armv7/qtbase/lib/cmake;/Users/assam/sources/qt6/build-debug/android_armv7/qtbase/lib/cmake;/Users/assam/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64;/Users/assam/sources/qt6/build-debug/android_armv7/qtbase CMAKE_MODULES_UNDER_TEST: Core;Qml;Quick CMAKE_Core_MODULE_MAJOR_VERSION: 6 CMAKE_Core_MODULE_MINOR_VERSION: 2 CMAKE_Core_MODULE_PATCH_VERSION: 0 CMAKE_Qml_MODULE_MAJOR_VERSION: 6 CMAKE_Qml_MODULE_MINOR_VERSION: 2 CMAKE_Qml_MODULE_PATCH_VERSION: 0 CMAKE_Quick_MODULE_MAJOR_VERSION: 6 CMAKE_Quick_MODULE_MINOR_VERSION: 2 CMAKE_Quick_MODULE_PATCH_VERSION: 0 CMake Error at /Users/assam/sources/qt6/build-debug/android_armv7/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1055 (message): Unsupported backing target type: MODULE_LIBRARY Call Stack (most recent call first): /Users/assam/sources/qt6/build-debug/android_armv7/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:529 (qt6_add_qml_plugin) tests/auto/qml/qmltc_manual/CMakeLists.txt:20 (qt6_add_qml_module) -- Configuring incomplete, errors occurred! See also "/Users/assam/sources/qt6/build-debug/android_armv7/qtdeclarative/tests/CMakeFiles/CMakeOutput.log". See also "/Users/assam/sources/qt6/build-debug/android_armv7/qtdeclarative/tests/CMakeFiles/CMakeError.log".
Attachments
Issue Links
- split to
-
QTBUG-96568 CMake error with qjstest not assigned to a module in Android builds
-
- Closed
-
- mentioned in
-
Page Loading...