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

Compiling QML App against Android developer build fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.0
    • Build System: CMake
    • None
    • Android

    Description

      Steps to reproduce:

      1. Run git submodule update on a toplevel source dir.

      2. To make the build work, check out

      • qtbase: 6e5258b48b6ffabdec81ca809d80d02491e1022
      • qtshadertools: e70636b92273a0c016957f0b99755ee9c8aa104
      • qtdeclarative: 8e14829dc74f5937ce8ef0f069ed8b31ee38a3c

      3. Configure
      configure -developer-build -no-warnings-are-errors -platform android-clang -qt-host-path ../dev/qtbase -android-sdk ~/Android/Sdk -android-ndk ~/Android/Sdk/ndk/25.1.8937393 -submodules "qtbase,qtshadertools,qtdeclarative" -android-abis "arm64-v8a"

      4. Build
      ...run ninja

      5. Import build in creator

      6. Compile a simple QML app
      It fails with

      CMake Error at /home/axel/QtGit/toplevel/build/dev-android-arm64_v8a/qtbase/lib/cmake/Qt6Gui/Qt6QPdfPluginConfig.cmake:51 (include):
        include could not find requested file:
          /home/axel/QtGit/toplevel/build/dev-android-arm64_v8a/qtbase/lib/cmake/Qt6Gui/Qt6QPdfPluginTargets.cmake
      

      Attachments

        1. CMakeLists.txt
          0.8 kB
          Axel Spoerl
        2. main.cpp
          0.5 kB
          Axel Spoerl
        3. main.qml
          0.1 kB
          Axel Spoerl

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              axelspoerl Axel Spoerl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes