Error running windeployQT
-
Hello,
I have an app that we developed using QT 5.14...
I am trying to migrate to QT 6.1After fixing a number of compilation errors and the like the app now compiles...
BUT, windeployQT fails with an error.C:\Qt5\6.1.0\msvc2019_64\bin\windeployqt.exe myApp.exe --qmldir ....\qml fails with the following error:
....
Creating qt_ar.qm...
QM-Format errorMy app does have .qm files, but I have recreated them using the linguist tool, so they should be OK...
We are building using visual studio.Any ideas what it wrong?
Thanks,
Cyrille -
I think I fixed your issue in https://codereview.qt-project.org/c/qt/qttools/+/338310 . Please try a newer snapshot of Qt 6.1.
-
Hello,
Thanks, updating QT indeed fixed it.
Cyrille
-
@spavlov said in Error running windeployQT:
This also happens with 5.15.4
Since 5.15.4 is a commercial-only release it's better to ask the support for such kind of things - we can't say anything to it since we don't have access to the commercial versions here.
-
@Christian-Ehrlicher Ok, thank you!
-
@spavlov
Will be fixed in 5.15.5
See https://bugreports.qt.io/browse/QTBUG-91558 -
Just a note for anyone running into this issue who happens to not need translations, the error can be bypassed by running windeployqt with the
--no-translations
option.