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

httpserver examples not compiling on Android and iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Moved
    • P1: Critical
    • None
    • 6.4.0 Beta3, 6.4.0 Beta4, 6.4.1, 6.5.0 FF, 6.6.0 FF
    • Qt Http Server
    • Android, iOS/tvOS/watchOS
    • 2022wk34FOQtforAndroid

    Description

      Install Qt6.4.0 beta3 snapshot Android binaries on linux, configure example httpserver/afterrequest:

      /home/qt/RTA/Qt_6.4.0/6.4.0/android_arm64_v8a/bin/qt-cmake -S /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest -B /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a -DANDROID_SDK_ROOT=/opt/android/sdk -DANDROID_NDK_ROOT=/opt/android/android-ndk-r23b -GNinja
      

      finished fine, compile 'cmake --build . --target apk' in /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a, fails:

      [5/6] Copying afterrequest binary to apk folder
      [6/6] Creating APK for afterrequest
      FAILED: CMakeFiles/afterrequest_make_apk /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a/CMakeFiles/afterrequest_make_apk 
      cd /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a && /home/qt/RTA/Qt_6.4.0/6.4.0/gcc_64/bin/androiddeployqt --input /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a/android-afterrequest-deployment-settings.json --output /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a/android-build --apk /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a/android-build/afterrequest.apk
      Generating Android Package
        Input file: /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a/android-afterrequest-deployment-settings.json
        Output directory: /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/httpserver/afterrequest/bld_arm64-v8a/android-build/
        Application binary: afterrequest
        Android build platform: android-31
        Install to device: No
      Error: qmlimportscanner not found at /home/qt/RTA/Qt_6.4.0/6.4.0/android_arm64_v8a/libexec/qmlimportscanner
      Skipping /home/qt/RTA/Qt_6.4.0/6.4.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.
      ninja: build stopped: subcommand failed.
      

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes