The executable program that publishes QT on Windows

Source: Internet
Author: User

These two days to write a tool, after running release, want to publish, and finally found that click inside. exe file error qt library file missing, so learn the next in the windows on the release of QT program method, the specific steps are as follows:

1, in Qt Creator with release run the program, generate the corresponding EXE file, that is, executable files.

2. In the Start menu, search Qt, then run QT 5.3 for Desktop (MinGW 4.8) (I use Qt5.3.2, different versions, different names).

3. Open window is the terminal command mode, and then enter the folder under your EXE file; e.g. CD C:\Users\pd\Desktop\Zhaohui_Development\MyScreenshot\ Release (this is my exe folder directory).

4. Run windeployqt MyScreenshot.exe, then all dependencies will appear under the folder (MyScreenshot.exe is my executable name).

5, then directly click the corresponding directory under the EXE to run the program.

6, if you want to make similar software installation, you can find a package installation software production can.

The executable program that publishes QT on Windows

Related Article

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.