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.