These two days to write a tool, after running release, want to publish, and finally found that click inside. exe file error qt library file missing, so learn the next in the windows on the release of QT program method, the specific steps are as follows:
1, in Qt Creator with release run the program, generate the corresponding EXE file, that is, executable files.
2. In the Start menu, search Qt, then run QT 5.3 for Desktop (MinGW 4.8) (I use Qt5.3.2, different versions, different names).
3. Open window is the terminal command mode, and then enter the folder under your EXE file; e.g. CD C:\Users\pd\Desktop\Zhaohui_Development\MyScreenshot\ Release (this is my exe folder directory).
4. Run windeployqt MyScreenshot.exe, then all dependencies will appear under the folder (MyScreenshot.exe is my executable name).
5, then directly click the corresponding directory under the EXE to run the program.
6, if you want to make similar software installation, you can find a package installation software production can.
The executable program that publishes QT on Windows