windeployqt6.exe in Qt 6.7.2 does not deploy some gcc libs
-
wrote on 13 Jul 2024, 12:35 last edited by
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?
-
wrote on 13 Jul 2024, 16:10 last edited by
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 😀
-
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 😀
wrote on 13 Jul 2024, 16:44 last edited by@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 :) -
-
-
wrote on 21 Oct 2024, 05:34 last edited by
I am seeing similar if not the same issuing using Qt 6.7.3, the missing files are:
- libunwind.dll
- libc++.dll
Copying those files from C:\Qt\6.7.3\llvm-mingw_64\bin fixes it.
-
wrote 13 days ago last edited by
Same problem here with Qt 6.9.1: libunwind.dll and libc++.dll are missing. I believe it worked previously with Qt 6.8.0.
And again, copying those files from C:\Qt\6.9.1\llvm-mingw_64\bin fixes it.
Is it broken again or did I make a mistake?