PDA

View Full Version : Adding MinGW to build configuration in Qt Creator



Tamimi
16th November 2011, 12:22
Hi ....

I am new user of QT. i didi the following to instal Qt SDK - Win - v1.1.4.en from QT offical site

1- i run the .exe file and instal the Qt SDK fllowing the wizerd.
2- i set enviroment variables as following:
for user variable: - Variable name:QTDIR
value:C:\QtSDK\QtCreator
- Variable name:QMAKESPEC
value:win32-g++
for System Variable: - I added th the path : C:\QtSDK\QtCreator\bin;C:\mingw\bin
3- then i did restart my labtop

why MinGW not apearing in edit build configrations???


7107


Thanks in advance

ChrisW67
18th November 2011, 04:28
Step 1: good. Steps 2 and 3: Why?

After step 1 the Qt SDK was fully installed and functional. If you installed only the Qt Desktop libraries for MSCV2008 then only those compiler options will be available to build. Install the MingW libraries using the package manager if you have not already. If you have installed both the MSVC libs and the MingW libs and still cannot see the MingW compiler options then visit Tools Options in Qt Creator and ensure that the MingW Qt location is listed on the Qt4 panel.