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

Cannot make APK/AAB for SUBDIRS project with libraries

    XMLWordPrintable

    Details

    • Platform/s:
      Android
    • Commits:
      ef4448f1294f0e8ff2e398f1b8917917c3ac0d0b (qt/qtbase/5.14)

      Description

      Using Qt 5.14, running make apk or make aab for a project using SUBDIRS with at least one library project (C++ Library or Qt Quick 2 Extension Plugin) results in errors:

      ...
      ~/Qt/5.14.0/android/bin/androiddeployqt --input ~/QtSubdirsProject/LibraryProject/android-LibraryProject-deployment-settings.json --output ~/QtSubdirsProject/LibraryProject/android-build --apk ~/QtSubdirsProject/LibraryProject/android-build/LibraryProject.apk
      Cannot read from input file: ~/QtSubdirsProject/LibraryProject/android-LibraryProject-deployment-settings.json
      make[1]: *** [apk] Error 2
      make: *** [sub-LibraryProject-apk] Error 2

      It seems that Qt tries to build APKs out of the library subprojects.

      Steps to reproduce

      1. Download attached sample project
      2. Run qmake
      3. Run make apk or make aab

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              taipan BogDan Vatra
              Reporter:
              fseiffert Frederik Seiffert
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes