Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0 RC
-
Ubuntu22.04 x64, branch 6.8
-
-
729c95fc8 (dev), 41483e73e (6.8), f99316376 (6.8.0)
Description
Install Qt 6.8.0 RC Android binaries, linux used as host in this report. Configure example:
/home/qt/RTA/Qt_6.8.0/6.8.0/android_arm64_v8a/bin/qt-cmake -S /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/quick/quickwidgets/qmlpreviewer -B /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/quick/quickwidgets/qmlpreviewer/bld_arm64-v8a -DANDROID_SDK_ROOT=/opt/android/sdk -DANDROID_NDK_ROOT=/opt/android/android-ndk-r26b -GNinja
-> fails:
CMake Error at CMakeLists.txt:44 (install): -- Configuring incomplete, errors occurred! CMake Error at CMakeLists.txt:44 (install): install TARGETS given no LIBRARY DESTINATION for module target "QMLPreviewerExample". -- Android toolchain file within NDK detected: /opt/android/android-ndk-r26b/build/cmake/android.toolchain.cmake -- Android toolchain file within NDK detected: /opt/android/android-ndk-r26b/build/cmake/android.toolchain.cmake -- The CXX compiler identification is Clang 17.0.2 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/android/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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 -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Performing Test HAVE_EGL -- Performing Test HAVE_EGL - Success -- Found EGL: /opt/android/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include (found version "1.5") -- Performing Test HAVE_GLESv2 -- Performing Test HAVE_GLESv2 - Success -- Found GLESv2: /opt/android/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -- Found WrapVulkanHeaders: /opt/android/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -- Configuring 'QMLPreviewerExample' for the following Android ABIs: arm64-v8a (default) -- Found android platform plugin at: /home/qt/RTA/Qt_6.8.0/6.8.0/android_arm64_v8a/plugins/platforms/libplugins_platforms_qtforandroid_arm64-v8a.so -- Configuring incomplete, errors occurred!
PATH:
/home/qt/RTA/Qt_6.8.0/6.8.0/android_arm64_v8a/bin:/home/qt/RTA/Qt_6.8.0/Tools/CMake/bin:/home/qt/RTA/Qt_6.8.0/Tools/Ninja:/opt/upx-4.2.4-amd64_linux:/opt/go1.22.4.linux-amd64/bin:/opt/cmake-3.27.7/bin:/home/qt/.local/bin:/home/qt/sccache_wrapper:/usr/local/sccache:/opt/node-v18.16.0-linux-x64/bin:/home/qt/.local/bin:/home/qt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin