Qt Creator configuration and QtCreator Configuration

Source: Internet
Author: User

Qt Creator configuration and QtCreator Configuration

Note: I have been trying to start QT. I have been reading the relevant tutorials for a while, but I have never succeeded in installing the QT editor. Today, I have been doing some work, but I have succeeded, special records are recorded for future reference:

Environment: win7 x64 + QT Creator3.3 + MinGW 491 + Qt design 5.4

 

QT is built in three programming environments in Windows.

Solution

Programming Environment

Compiler

Debugger

I

Qt Creator

MinGW GCC

GDB

II

Qt Creator

Microsoft Visual C ++ Compiler

Debugging Tools for Widows

3.

Microsoft Visual maxcompute 2010

Built-in VS2010

Built-in VS2010

This article mainly explains the first solution: qt creator + mingw gcc + gdb;

The last Installation failed. The version is qt creator 2.6 + mingw440 + gdb7.5. It is very depressing and can be compiled, but it cannot be debugged and always reports

1. 'cl' is not an internal or external command Problem

2. Exit code:-1073741819.

3. *** missing separator. Stop.

4. the process ****

5. The gdb ****

A series of problems, such as tossing for a while, are still defeated. Today, I went to the official website to download the latest qt.

Note that the QT installer and package mentioned in the following solution can be downloaded at http://download.qt.io/on the official website.

Now the latest version of qt comes with qt creator + mingw + qt design, saving us from the trouble of finding software.

Download the latest version: qt-opensource-windows-x86-mingw491_opengl-5.4.0.exe to install it.

After installation, the qt creator settings page is as follows:

Note that when we do not set the environment variables and manually run debug or release, an error is returned.

Solution:

Add the installation directory of qt to the environment variable.

 

At this point, the complete installation of solution 1 is also completed.

 

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.