alright.. i downloaded and installed qt 5.1.1 (msvc2012, 64 bit) on my windows 7. i tried to run a simple qt gui application… and this is what happened:
when i pressed "run"… there was error.. it said:
"qt creator needs a compiler set up to build. configure a compiler in the kit options"
then i found i had a list of 4 compilers to add from… when i added mingw… it said:
"the compiler mingw cannot produce codes for the qt version 'qt 5.1.1 MSVC2012 64 bit'"
it did the same for all the other compilers that i chose from the list of 4… nevertheless, i pressed "run" again.. as expected, it did not work… and this was the compile output:
19:16:31: Running steps for project code...
19:16:31: Starting: "C:\Qt\Qt5.1.1\5.1.1\msvc2012_64\bin\qmake.exe" C:\Users\shades\code\code.pro -r -spec win32-g++
19:16:31: The process "C:\Qt\Qt5.1.1\5.1.1\msvc2012_64\bin\qmake.exe" exited normally.
19:16:31: Starting: "mingw32-make.exe" -r -w
qtcreator_ctrlc_stub: Command line failed: mingw32-make.exe -r -w
19:16:32: The process "mingw32-make.exe" exited with code -1.
Error while building/deploying project code (kit: Desktop Qt 5.1.1 MSVC2012 64bit)
When executing step 'Make'
19:16:32: Elapsed time: 00:01.
what do i do?? please please help….
Best Answer
The Qt version youh have is for use with the compiler MSVC2012 64 bit. That compiler is for Microsoft Visual C 2012 64 bit.
You should download the MinGW version if you want to use that compiler. The installer of the mingw version of Qt comes with the compilers for MinGW.