Some of the QT programs encountered porting issues between Windows platforms are collated

Source: Internet
Author: User

Today, we try to transplant the QT program into various virtual machines, because Qt's dependent library reports often fail to show all dependent libraries. The result frequently appeared the problem, finally all solved, here gives some routines.

First of all for the QT version, I used a lot, the end of the current recommended MINGGW version (this version comes with MINGGW), the website link:

Qt 5.4.2 for Windows 32-bit (MinGW 4.9.1, 852 MB) (info)

My personal Baidu network disk Link: Qt 5.4.2 MinGW

The installation should be careful to check the MinGW, if you do not. This version can be run under windowsxp.

Then I'll introduce a tool: Process Explorer v16.01 This tool to see the dependent libraries. First time use to set up a bit first

You will then be able to find the dependent files for each of your running programs on the left.

Examples of specific operations:

I want to port my QT program (myexe) to Windows XP, then I install QT on the Windows XP virtual machine/machine, then copy the code into the release version, and then use the Process Explorer to see the libraries that they depend on after the compilation is successful. Copy them all to the same directory as the compiled program to run successfully.

(In the end, it's more hassle than Linux ...) For Linux, you can use LDD to view dependent libraries)

Some of the QT programs encountered porting issues between Windows platforms are collated

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.