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.