Construction of QT development environment under Windows platform

Source: Internet
Author: User

QT is an open source graphics development library that is published using open-sourced and commercial dual protocols, and now many of the graphical open-source software uses QT.

: Http://qt-project.org/downloads

1. Download the installation package

You can download the compiled binary installation package from the download page, or you can download the source code to compile it yourself, below is the section of the download list of the binary Software installation package.

As you can see, the latest version is the QT 5.3.1, which is now available in Windows 32/64bit,linux 32/64bit,mac, Android, and iOS versions of the SDK. This document will present the latest development platform for the most complex Windows platform, the platform of choice for the window 8.1 64bit + MSVC2013 + Qt 5.3.1 Development Kit, where you need to first download the development package shown.

It is important to note that the compiler we have chosen is MSVC2013, which is the latest integrated development environment provided by Microsoft, only available on the WIN8 platform, so you must choose the Windows 8 operating system, which is why I chose Widnows 8.1.

2. Software Installation

The next step is to explain the binary installation package that we downloaded. There are two kinds of installation packages downloaded on the official web, one is the version with the MinGW compiler itself, the other is the version without the compiler, and the installation package with the MSVC typeface is not with the compiler, so before installing the installation package, make sure that you have installed the corresponding MSVC development environment on your system. For example, this requires that the MSVC 2013 is already installed.

Of course, here I do not describe how to install MSVC 2013, this installation package is very large, online can also find the relevant installation tutorial, anyway this must be installed.

After installing MSVC 2013, we installed the QT 5.3.1 installation package that we downloaded, which is simple, choose the default installation, and the installer will install the QT SDK and Qt creator to your system.

The above is the entire development environment configuration Software Installation section, very simple, just need to pay attention to the installation must choose the corresponding version. Next, you need a simple configuration of the software development environment.

3. Environment configuration

QT development can be used in two ways: one is to use the MSVC 2013 development environment, and call the QT SDK for software development, but this way needs to configure more environment parameters, another way is to use QT provides integrated development environment QT Creator, This tool has been configured with the basic environment parameters at the time of installation, we only need to make a small amount of changes or even do not modify to start the software development.

3.1 Qt Creator Environment configuration

After the software installation is complete, a QT creator shortcut is generated, and a double-click runs to enter the QT creator main interface. In the menu bar, select Tools, Options, and then select the Kits tab in the Build & Run option, as shown in.

This dialog box lists the development kits available in the current system, but you can see an exclamation point because the MSVC 2013 we installed did not provide a debugger debugger for Qt Creator, so next we need to find a way to install a debugger .

Description: In fact, for software development, do not use the debugger can also complete the normal software compilation work, but can not debug. However, this does not affect the sample programs we provide in our running packages.

3.1 MSVC Environment Configuration

< not finished >

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.