Details
Description
Install Qt 6.7.0 Android binaries, configure example demos/osmbuildings:
/6.7.0/android_arm64_v8a/bin/qt-cmake -S /home/qt/RTA/Qt_6.7.0/Examples/Qt-6.7.0/demos/osmbuildings -B /home/qt/RTA/Qt_6.7.0/Examples/Qt-6.7.0/demos/osmbuildings/bld_arm64-v8a -DANDROID_SDK_ROOT=/opt/android/sdk -DANDROID_NDK_ROOT=/opt/android/android-ndk-r26b -GNinja
Fails:
CMake Error at CMakeLists.txt:22 (add_android_openssl_libraries): Unknown CMake command "add_android_openssl_libraries". -- 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 incomplete, errors occurred!
Failing since beta.
Attachments
For Gerrit Dashboard: QTBUG-123164 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
546847,3 | OSM buildings: correctly download and add OpenSSL libraries | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
547083,2 | OSM buildings: correctly download and add OpenSSL libraries | 6.7 | qt/qtdoc | Status: MERGED | +2 | 0 |
547185,2 | OSM buildings: correctly download and add OpenSSL libraries | 6.7.0 | qt/qtdoc | Status: MERGED | +2 | 0 |
547186,1 | OSM buildings: correctly download and add OpenSSL libraries | 6.6 | qt/qtdoc | Status: ABANDONED | 0 | 0 |
583648,3 | Fix the OSMBuilding compiling on the android | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
583731,2 | Fix the OSMBuilding compiling on the android | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
583956,2 | Fix the OSMBuilding compiling on the android | 6.7 | qt/qtdoc | Status: MERGED | +2 | 0 |