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

convert, cbordump, semaphores and waitconditions not compiling on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Won't Do
    • Affects Version/s: 6.2.4, 6.3.0 Beta3
    • Fix Version/s: None
    • Component/s: Core: Threads
    • Environment:
      Ubuntu20.04 x64
    • Platform/s:
      Android

      Description

      Install Qt6.3.0 beta3 Android on linux and compile one of the following examples:

      Examples/Qt-6.3.0/corelib/serialization/convert
      Examples/Qt-6.3.0/corelib/serialization/cbordump
      Examples/Qt-6.3.0/corelib/threads/semaphores
      Examples/Qt-6.3.0/corelib/threads/waitconditions

      Configure with:

      /home/qt/RTA/Qt_6.3.0/6.3.0/android_arm64_v8a/bin/qt-cmake -S /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert -B /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a -DANDROID_SDK_ROOT=/opt/android/sdk -DANDROID_NDK_ROOT=/opt/android/android-ndk-r22b -GNinja
      

      Finished fine, but fails to compile: cmake --build . --target apk

      [11/11] Creating APK for convert
      FAILED: android-build/convert.apk /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-build/convert.apk 
      cd /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a && /opt/cmake-3.21.1/bin/cmake -E copy /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/libconvert_arm64-v8a.so /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-build/libs/arm64-v8a/libconvert_arm64-v8a.so && /home/qt/RTA/Qt_6.3.0/6.3.0/gcc_64/bin/androiddeployqt --input /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-convert-deployment-settings.json --output /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-build --apk /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-build/convert.apk --depfile /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-build/convert.d --builddir /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a && /opt/cmake-3.21.1/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-build/convert.d /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/CMakeFiles/d/15d6618897b53543bdaec281750781853e5cb19df2f5910a157bc3d81bdd55f8.d
      Generating Android Package
        Input file: /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-convert-deployment-settings.json
        Output directory: /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/corelib/serialization/convert/bld_arm64-v8a/android-build/
        Application binary: convert
        Android build platform: android-31
        Install to device: No
      Skipping /home/qt/RTA/Qt_6.3.0/6.3.0/android_arm64_v8a/plugins/platforms/libplugins_platforms_qtforandroid_arm64-v8a.so due to unmet dependencies: lib/libQt6Gui_arm64-v8a.so
      Skipping plugins/platforms/libplugins_platforms_qtforandroid_arm64-v8a.so due to unmet dependencies: lib/libQt6Gui_arm64-v8a.so
      Skipping createRCC
      No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. Please include one.
      

      Examples are compiled with Qt6.2.4 Android binaries. Fails on 6.2.4 also.

      Fails with 6.3.0 on macOS and Windows also.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-101710
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              assam Assam Boudjelthia
              Reporter:
              joaijala Johanna Äijälä
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes