Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-19 Thread Jérôme Godbout
Behalf Of Alexander Dyagilev Sent: August 19, 2019 5:38 AM To: interest@qt-project.org Subject: Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm) Ahh... I should use $$[QT_INSTALL_TRANSLATIONS] instead of $$QT_INSTALL_TRANSLATIONS. I just know nothing xD On 8/19/2019

Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-19 Thread Jérôme Godbout
ust 18, 2019 10:36 PM To: interest@qt-project.org Subject: [Interest] Android: include and use the translation files of Qt (qt_*.qm) Hello, Is there a "good" way to achieve this? The only solution for know I'm thinking of is to manually copy all them into my project folder a

Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-19 Thread Alexander Dyagilev
Ahh... I should use $$[QT_INSTALL_TRANSLATIONS] instead of $$QT_INSTALL_TRANSLATIONS. I just know nothing xD On 8/19/2019 10:48 AM, Alexander Dyagilev wrote: Filed the bug... https://bugreports.qt.io/browse/QTBUG-77661 On 8/19/2019 10:35 AM, Alexander Dyagilev wrote: Hmm This QT_INSTALL

Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-19 Thread René Hansen
"You can use CONFIG += lrelease to automatically compile the files during the build, and CONFIG += lrelease embed_translations to make them available in The Qt Resource System." Alternatively, you can just add the .qm files to a resource file yourself, e.g. in the case where you want a different q

Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-19 Thread Alexander Dyagilev
Filed the bug... https://bugreports.qt.io/browse/QTBUG-77661 On 8/19/2019 10:35 AM, Alexander Dyagilev wrote: Hmm This QT_INSTALL_TRANSLATIONS is empty under Android config. However, it's defined for Windows/Mac/Desktop Linux Any help? On 8/19/2019 5:41 AM, Alexander Dyagilev wrote: S

Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-19 Thread Alexander Dyagilev
Hmm This QT_INSTALL_TRANSLATIONS is empty under Android config. However, it's defined for Windows/Mac/Desktop Linux Any help? On 8/19/2019 5:41 AM, Alexander Dyagilev wrote: Something like this? qt_qm_files.path = /assets/translations qt_qm_files.files += $$QT_INSTALL_TRANSLATIONS/qt_*

Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-18 Thread Alexander Dyagilev
Something like this? qt_qm_files.path = /assets/translations qt_qm_files.files += $$QT_INSTALL_TRANSLATIONS/qt_*.qm INSTALLS += qt_qm_files On 8/19/2019 5:39 AM, Alexander Dyagilev wrote: Looks like I should use qmake's INSTALLS variable and install all the required qt_*.qm files into assets fo

Re: [Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-18 Thread Alexander Dyagilev
Looks like I should use qmake's INSTALLS variable and install all the required qt_*.qm files into assets folder? On 8/19/2019 5:36 AM, Alexander Dyagilev wrote: Hello, Is there a "good" way to achieve this? The only solution for know I'm thinking of is to manually copy all them into my proje

[Interest] Android: include and use the translation files of Qt (qt_*.qm)

2019-08-18 Thread Alexander Dyagilev
Hello, Is there a "good" way to achieve this? The only solution for know I'm thinking of is to manually copy all them into my project folder and include into resource files. This is not good because I'll have to store them in my repository and I'll have to update them every time I update Qt.