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

[REG 6.7.2->6.8.0beta1-3] insighttracker/coffee not compiling with Android binaries

    XMLWordPrintable

Details

    • Android
    • 3595071df (dev), f04b303d5 (6.8)

    Description

      Install Qt 6.8.0 beta3 Android binaries, linux used as host in report, but reproduces on macOS and Windows aswell.

      Configure project:

       /home/qt/RTA/Qt_6.8.0/6.8.0/android_x86_64/bin/qt-cmake -S 
      /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/insighttracker/coffee -B 
      /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/insighttracker/coffee/bld_x86_64
       -DANDROID_SDK_ROOT=/opt/android/sdk 
      -DANDROID_NDK_ROOT=/opt/android/android-ndk-r26b -GNinja

      -> fails:

      -- 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
      -- Found ZLIB: /opt/android/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/28/libz.so (found version "1.2.13")
      -- Found WrapSystemZLIB: TRUE (found version "1.2.13")
      CMake Error at bld_x86_64/_deps/android_openssl-src/android_openssl.cmake:24 (set_target_properties):
        set_target_properties Can not find target to add properties to:
        coffee_insight
      Call Stack (most recent call first):
        CMakeLists.txt:83 (add_android_openssl_libraries)
      -- Configuring 'coffeeinsight' for the following Android ABIs: x86_64 (default)
      -- Found android platform plugin at: /home/qt/RTA/Qt_6.8.0/6.8.0/android_x86_64/plugins/platforms/libplugins_platforms_qtforandroid_x86_64.so
      -- Configuring incomplete, errors occurred! 

      Compilation works with Qt 6.7.2 Android binaries.

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes