Qt applications published as exe

1, the copy of the file, or debug compiled release exe file to a folder under their definition file (used to store the publisher);

 

2, the right-shift + file plus the shell command to open the window;

    

 

3, in the command window, type 'windeployqt' + space + exe program name (such as windeployqt LaserSafety.exe) you want to package, Enter, it will automatically copy the required dll file into the directory.

You can delete unwanted library file.

4, successfully posted

 

Guess you like

Origin www.cnblogs.com/zzx1905/p/Qt_Release_exe.html