windeployqt6.exe in Qt 6.7.2 does not deploy some gcc libs
-
I have been using GCC 11.2.0 (MinGW_64) with Qt 6.6.0 for a while but recently updated to Qt 6.7.2 but still using GCC 11.2.0.
Previously I could just run windeployqt6.exe <bin dir> <build dir> to deploy all required libs for the application to work.
When I updated to Qt 6.7.2, it misses these 3 dll files:- libgcc_s_seh-1.dll
- libstdc++-6.dll
- libwinpthread-1.dll
It successfully copies all other required libraries.
This seems to be an issue with windeployqt6.exe itself. It works if I use windeployqt6.exe from Qt 6.6.0 on an application built with 6.7.2 but not windeployqt6.exe from Qt 6.7.2 (using the same shell).
Is there something else I have to add as argument or environment for windeployqt6.exe to work properly in 6.7.2?
-
It's a bug in Qt 6.7.2, see the fix at https://codereview.qt-project.org/c/qt/qtbase/+/573521
G++
vsg++
.Take a hexeditor from https://superuser.com/questions/14465/hex-editors-for-windows and open
windeployqt6.exe
, find theG++
entry and change tog++
.Alternatively wait for Qt 6.7.3, or build your own Qt 😀
-
@cristian-adam Thanks for the info!
I did a quick google search for this kind of issue before posting but I guess my googling failed me :) -
-