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

Qmake generated qrc files fail to deploy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.14.0
    • Fix Version/s: 5.14.2, 5.15.0 Alpha
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      Android
    • Commits:
      288d5d8a7144ab05885fc446e945f17e8d546820 (qt/qtbase/5.14)

      Description

      To bundle the locales, I've a pattern like this in my app.pro:

      qmake_qm_files.files = $$TRANSLATIONS_FILES
      qmake_qm_files.base = $$OUT_PWD/../../i18n
      qmake_qm_files.prefix = /i18n
      RESOURCES += qmake_qm_files

      Running the build for android, creates a deployment-settings.json which contains:

      "qrcFiles": "<snip>/src/app/qml.qrc,<snip>/resources/defs/devicedescs/devicedescs.qrc,<snip>/resources/defs/defs.qrc,<snip>/build/src/app/qmake_qm_files.qrc,<snip>/build/src/app/armeabi-v7a/qmake_qmake_immediate.qrc,<snip>/build/src/app/armeabi-v7a/qmake_qmake_immediate.qrc"

      So build/src/app/qmake_qm_files.qrc is the place where qtandroiddeploy is going to pick up the resource file. But they're here:

      build/src/app/armeabi-v7a/qmake_qm_files.qrc

      qtandroiddeploy reports:
       

      Generating Android Package
        Input file: ./src/app/android-fah-deployment-settings.json
        Output directory: /builds/bje/app/build/android/
        Application binary: fah
        Android build platform: 29
        Install to device: No qmlimportscanner: No such file or directory: "<snip>/build/src/app/qmake_qm_files.qrc"

       

        Attachments

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

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            cajus Cajus Pollmeier
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes