PDA

View Full Version : qmake problem after reinstallation



xtlc
2nd January 2014, 07:56
I reinstalled QT 5.2 and now I cant really get it back up and running.

I first downloaded the MSVC12 version, didnt work, so I tried again with the online installer. I always get the message: ":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.". When I go to options -> build & run -> kits I see:

989098919892

I want to use the MSVC2012 amd64 or 32 version, like I did before. But how do I get them working? I always end up seeing: "No compiler can produce code for this Qt version ...". What did I do wrong?

ChrisW67
2nd January 2014, 20:14
You have clearly installed the Qt libraries for the MingW tool chain. Run the installer again and select the MsVC 2012 version of the libraries.

xtlc
3rd January 2014, 06:24
I did that before. This is why they are all there, but I was not able to use them. Shouldn't I be able to get them up and running too in my actual setting? I would like to be able to choose my compiler anyway...

ChrisW67
3rd January 2014, 08:11
Have you done what the message says? Go into the Kit definition for "Desktop Qt 5.2.0 MSVC 32bit" or "... 64bit" and select the compiler.

xtlc
3rd January 2014, 08:17
9901Problem is, if I klick "manage" under Compilers I am dragged to the compilers window. If I clone my amd64 MSVC 2012 Compiler I can select it under kits, but it says sth like "Compiler can not produce code vor the qt version ...".

ChrisW67
3rd January 2014, 19:39
Ignoring Qt and Qt Creator, is your Visual Studio install able to build a simple Hello World program?

xtlc
4th January 2014, 09:08
Like this:

9905

ChrisW67
4th January 2014, 20:38
Then I guess that either the "auto detected" path to the compiler on the "Compilers" tab is wrong or something necessary for running the compiler is missing from the environment that Qt Creator is installed in.

When you try to compile a Hello QtCentre example inside Qt Creator does the Compiler Output panel contain useful messages?