QT5 publish, but rely on dynamic link library (DLL), but, QT5 dynamic link library seems to have 2 sets, such as Qt5core (for Realese), qt5cored (for debug), everything at the end with D is the debug file needs of the link library, MO bo master Wordy
A about publishing
1. First, we need to find our own directory to install QT
2. Locate the above path Qt/5.4/mingw491_32/bin
3. Find 9 required base DLLs in the path, which are divided into 3 classes
(1) ICU Library
(2) Lib class
(3) QT5 Core class
This is the necessary basic dynamic link library for publishing, such as the release of large programs, additional libraries are required, here is not a description, you can use the depends tool to find what library you need.
(4) In addition, the folder must also have qt/5.4/mingw491_32/bin/plugins in the Platform folder, to be copied to the same directory with EXE,
Note that if you use the ICO icon you must add the Qt/5.4/mingw491_32/bin/plugins in the Iconengines, if not clear, you can copy the entire Plugins folder to complete the release.
B about Packaging
1. We recommend you to use a particularly convenient software Enigma Virtual box_7.30, green free.
2. Locate the Realese/xx.exe file from the project file with the following path
3. Create a new folder, place the found DLL libraries and platform folders with the home directory, such as a (step (4) in the release)
4. Find your own compiler generated EXE file, the blue part can be renamed
5. Increase the folder you put the DLL and platform
6. Then click on the file option to check the compressed file. Execute the package to
QT5 Program Release Package