Qt6.5 packaging (QT windeployqt is not an internal or external command, QT error: missing libgcc_s_seh-1.dll, unable to start normally (0xc000007b) problem solution)

 1. Construction

Two, packing 

Copy the compiled exe file to a folder on the desktop

 

 

 windeployqt .\05_Qt_QFile.exe

 

 If an error is reported

QT错误:缺少libgcc_s_seh-1.dll ,无法正常启动(0xc000007b) 问题解决方法

 Add mingw_64\bin under the Qt installation folder to the environment variable Path

D:\ProgramFiles\Qt\6.5.1\mingw_64\bin

 

 

3. Build as an installation package (HM NIS Edit, NSIS)

 Reference download address:

https://xiazai.365zzx.com:4439/Soft/N/nisedit_2.0.3.0_XiaZaiBa.zip
https://safe.51xiazai.cn/huajunsafe/nsis_v3.08.exe

 HM NIS Edit to configure NSIS

 

C:\Program Files (x86)\NSIS\makensis.exe

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_29752857/article/details/131361587