Unsolved libgcc_s_seg-1.dll was not found issue
Hello. I have been playing around with QT Creator for a few days and managed to create a very simple program. I have decided to test it and deploy it. I have followed this video:
What I have done:
- Build the project in release configuration.
- Execute windeployqt.exe command in powershell
PS C:\Qt\6.3.1\mingw_64\bin> .\windeployqt.exe "C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\UTB_gui.exe" C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\UTB_gui.exe 64 bit, release executable Adding Qt6Svg for qsvgicon.dll Direct dependencies: Qt6Core Qt6Gui Qt6SerialPort Qt6Widgets All dependencies : Qt6Core Qt6Gui Qt6SerialPort Qt6Widgets To be deployed : Qt6Core Qt6Gui Qt6SerialPort Qt6Svg Qt6Widgets Warning: Cannot find GCC installation directory. g++.exe must be in the path. Updating Qt6Core.dll. Updating Qt6Gui.dll. Updating Qt6SerialPort.dll. Updating Qt6Svg.dll. Updating Qt6Widgets.dll. Updating opengl32sw.dll. Updating D3Dcompiler_47.dll. Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/iconengines. Updating qsvgicon.dll. Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/imageformats. Updating qgif.dll. Updating qico.dll. Updating qjpeg.dll. Updating qsvg.dll. Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/platforms. Updating qwindows.dll. Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/styles. Updating qwindowsvistastyle.dll. Creating C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\translations... Creating qt_ar.qm... Creating qt_bg.qm... Creating qt_ca.qm... Creating qt_cs.qm... Creating qt_da.qm... Creating qt_de.qm... Creating qt_en.qm... Creating qt_es.qm... Creating qt_fa.qm... Creating qt_fi.qm... Creating qt_fr.qm... Creating qt_gd.qm... Creating qt_he.qm... Creating qt_hr.qm... Creating qt_hu.qm... Creating qt_it.qm... Creating qt_ja.qm... Creating qt_ko.qm... Creating qt_lv.qm... Creating qt_nl.qm... Creating qt_nn.qm... Creating qt_pl.qm... Creating qt_pt_BR.qm... Creating qt_ru.qm... Creating qt_sk.qm... Creating qt_tr.qm... Creating qt_uk.qm... Creating qt_zh_CN.qm... Creating qt_zh_TW.qm... PS C:\Qt\6.3.1\mingw_64\bin>
In my release folder, Some new files were created:
I have tried to launch UTB_gui and get the following error:
Could someone clarify to me what could be the issue here?
jsulm Lifetime Qt Champion last edited by
@lukutis222 Seems like you also need to copy libgcc_s_seh-1.dll into your app folder.
I figured that much. Is there any particular reason why I need to manually copy this file while others do not need to do that?
Also, do you know where can I find this dll file?
jsulm Lifetime Qt Champion last edited by jsulm
@lukutis222 I don't know why it is not copied.
You can find it in your MinGW installation, simply search for it in Windows Explorer.
I got it to work. Thank you very much :)