Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0
-
None
-
-
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"