Function description:
- The written QT program is packaged into software that runs directly on windows
1. The QT program is packaged into Window operating software
①Switch the working mode to release mode, and then compile
2. Release mode: Basically no debugging information
3. Debug mode: Contains a lot of debugging information
②Find the folder built in release mode
③Modify the icon and
place the icon directly under the project directory (Note that it can only be the icon of .ico)
Add the following code under the project file:
compile and run.
④For packet operation, you need to use the QT console
- Create folder
- Copy the .exe file in the project to the created folder
- Go to the created folder in the QT console
- Execute on the console: windeployqt timer.exe (where: timer.exe is)