Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123164

New example demos/osmbuildings not compiling on Android

    XMLWordPrintable

Details

    • Android
    • e02f78b39 (dev), 5aadc2049 (6.7), e215c0c64 (6.7.0), 9240bdd2f (dev), 58121631e (6.8), 4e45fe321 (6.7)

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sadegh_taghavi Sadegh Taghavi
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: