Qt5 is released and packaged under win7 and released under qt5win7
When QT5 is released, it is no longer dependent on the dynamic link library (dll). However, QT5 Dynamic Link Libraries seem to have two sets, such as Qt5Core (for realese) and Qt5Cored (for debug ), everything ends with the link library required by the debug file.
A about release
1. First, we need to find the directory for installing QT.
2. Find the above path Qt/5.4/mingw491_32/bin.
3. Find nine required basic dll files in the path, which are divided into three categories:
(1) icu Database
(2) lib class
(3) Qt5 core class
This is a basic dynamic link library required for publishing. For example, to publish a large program, you need to add other libraries. Here we will not describe them one by one. You can use the Depends tool to find the required library.
(4) In addition, the required folders include the platform folder in Qt/5.4/mingw4920.32/bin/plugins, which must be copied to the same directory as the exe,
Note: If you use the ico icon, you must add iconengines in Qt/5.4/mingw4931632/bin/plugins. If you do not know, you can copy the entire plugins folder to complete the release.
B. About Packaging
1. We recommend that you use a particularly convenient software, Enigma Virtual Box_7.30, green for free.
2. Find the realese/xx.exe file from the project file. The path is as follows:
3. Create A folder and put the dll library and platform folders together with the Home Directory, such as step (4) in release)
4. Find the exe file generated by your compiler, and rename the blue part.
5. Add the dll and platform folders.
6. Click the file option and select the compressed file. Run the package.
The reference materials for this article are from Baidu, Which is original to the bloggers. I hope all the experts will give you some advice. If you need to reprint them, please indicate the source.