This works with both the old and the new way of Qt's asset deployment, ie.
with Qt 5.13 and Qt 5.14.
Details
Details
- Reviewers
apol - Maniphest Tasks
- T12520: Qt 5.14
- Commits
- R240:040504da64aa: Load QM files from assets: URLs on Android
Diff Detail
Diff Detail
- Repository
- R240 Extra CMake Modules
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Don't we need an if Qt 5.13 elseif Qt 5.14?
In other Qt versions it won't be in the assets...
Comment Actions
Are you sure about this? I had tested this on my Qt 5.13 setup and the files are in the same place there. I can't prove it with the binary factory apk though, translations don't seem to be included there at all?
Comment Actions
They used to work back when I added the code for it. Maybe it broke over time. If it works for you, go for it.