QT Win installation Configuration

Source: Internet
Author: User

QT Windows Edition installation configuration

Installation package: Link: Https://pan.baidu.com/s/1LCj2V3xQ1wB9_7zmE5tV6Q Password: bn9r

First install QT Creator

Double-click the installation file ("Qt-creator-windows-opensource-2.8.0.exe")

Installation of source code

The steps are as follows:

Double-click the installation file ("Qt-win-opensource-4.8.5-mingw.exe")

After installing to this step, set the MinGW installation interface to mingw-gcc440_1.zip the folder MinGW copy to the C:\Qt\ directory, unzip the GCC4.4, go back to the installation interface, continue to click on the "Installation" (install).

Until the completion

QT Creator Environment Configuration

Open QT Creator

Click "Tools"-"Options"

Select the "Build and Run" item in the Options screen ...

Select the Compilers tab

Click the "Add" button at the top right corner to select "MinGW" ...

Add the compiler path, here you select "C:\Qt\mingw\bin\gcc.exe", click Open ...

In the Compiler tab interface, you can see that the manual settings for MinGW have been set ...

Add the QT version below and click on the "Add" button at the top right ...

Then select the path of the Qmake.exe, "C:\Qt\4.8.5\bin\qmake.exe", and click on the "Open" button in the lower right corner.

Click the "Apply" button in the lower right corner to save your settings.

In the Build Kit tab, modify the desktop (default) whose name you customized, which is changed to "desktop Qt 4.8.5", and then modify its configuration information ...

In the compiler one, select "MinGW", then set the debugger (CDB engine) ...

Make a debugger, use gdb7.4 debugger (file name "Qtcreator-gdb-7.4-mingw32_nt-6.1-i686.tar"), can extract to "c:\Qt\".

After the debugger is unpacked, go back to Qt creator and continue with the configuration. Click the Edit button after the "Debugger" (CDB engine) option

In the pop-up dialog you need to specify a "binary" path, click "Browse"

Under "c:qtqtcreator-gdb-7.4-mingw32_nt-6.1-i686" directory, select Gdb-i686-pc-mingw32.exe, click "Open"

Binary path OK, click "OK" button to go back to "Build Kit" settings interface.

Click the "Apply" button and click the "OK" button. Complete the configuration

QT Win installation Configuration

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.