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