Get all QT DLL package commands before publishing
After the generated program runs normally, locate the project's build directory, such as the project source path:
C:\QtPros\hellomw\
Its Project build directory is
C:\QtPros\build-hellomw-Desktop_Qt_5_4_0_MinGW_32bit-Release\
Go to this folder, go inside the subfolder of it, find Hellomw.exe,
Copy this exe to a new, separate folder for publishing, such as Save to
D:\hellomw\ folder inside.
Then open the Qt command line from the Start menu and enter the command:
CD/D D:\HELLOMW
Then use the WINDEPLOYQT tool command:
WINDEPLOYQT Hellomw.exe
: In addition, it is not said that QT's program only needs QT DLL package, and sometimes need vslib
such as: Mfc140.dll Msvcp140.dll, etc.
In short, you need to package some libraries, mainly to see what needs to be deployed in the context of what the library, operating environment, etc.
QT Package release Get DLL