- release program run, the .exe file.
- The .exe file is saved in the new folder. Such as c: \ myapp
- Create a deployable folder (use windeployqt tool)
(1) starts the corresponding Qt command-line tool.
(2) may be a command
A. Windeployqt c: \ myapp
. B, or to switch to the c: myapp directory (. 1) c: (2) CD \ myapp , and then enter the command file name (helloworld) .exe windeployqt
soon all available the files are copied, including the now unnecessary. This method is used when uncertainty program dependencies.
- Use packet Tool (Enigma Virtual Box)
(1) to find the .exe file
(2) Virtual output file name.
(3) all files, folders, drag Virtual Box Files tree.
(4) Click File Options -> archive -> OK.
(5) Click packaged. .Exe file that is output is a single file that we need.
Reference website:
https://blog.csdn.net/caoshangpa/article/details/53808627?utm_source=blogkpcl14