QT5 Program Release Package

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.