Qt 5.5.0 Windows Environment setup

Source: Internet
Author: User

1) Visit the official website:http://www.qt.io/download-open-source/



2) Select the offline installation package


3) Select the Windows offline installation package(32-bit or 64-bit is available, Windows 64-bit backwards-compatible 32-bit, does not matter 32-bit or 64-bit)


This version has been uploaded to the Baidu cloud disk, please click this link to download: HTTP://PAN.BAIDU.COM/S/1BN9BCDX


4) Install the package

Double-click the package to install, the beginning of a QT account registration information, skip directly, the default configuration, all the way "next" installation.











After installation, the Qt Creator icon is not generated on the desktop, we need to look in the Start menu, or set a desktop shortcut from the Start menu:









5) test Environment

















6) How do I open the Qt application directly under Windows?

After the QT code is run under Window with Qt Creator, a matching buid-directory is generated in the catalog's sibling directory:



To enter this build-directory, the executable program is placed by default in the Debug folder:





Double-click to run this executable program, the results found that can not run, the following dialog box appears:



The reason is that the program does not find the appropriate library when it runs.


Next, we'll let the QT executable find the libraries it depends on by modifying the system environment variables.

A) Locate the path of the dependent library:C:\Qt\Qt5.5.0\5.5\mingw492_32\bin and then copy its path.



b) Modify Environment variables

My Computer (right-click)-Properties









Paste the previously copied C:\Qt\Qt5.5.0\5.5\mingw492_32\bin into the path, followed by a semicolon ";" Segmentation.



Then, rerun the executable program, if the program still does not run, restart the computer.

Copyright NOTICE: This blog post, mostly I compiled, or in the network collection, reproduced please indicate the source!!

Qt 5.5.0 Windows Environment setup

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.