PDA

View Full Version : how to add C++ compiler to QT creator?



costa
23rd February 2014, 10:07
Hello!


I have installed the QT creator and I need to compile c++ project. THere are a lot of guides but all them have screenshots where C++ compilers are auto-detected, but in my QT there are nothing about it.

Couldn't you help me? or just post a good link or smth.

thanks in advance

ttimt
23rd February 2014, 15:13
Fire up QtCreator, go to Tools > Options

Make sure those settings are correct

Infinity
23rd February 2014, 17:32
Which platform and which compiler do you want to use? Normally your compiler should be detected.
If you are using the VS versions of Qt I think you have to install the Microsoft C++ compiler separately (by installing Visual Studio for example). Or use the MinGW version of Qt instead (here is the compiler included).

boudie
25th February 2014, 15:44
On Linux (Debian or Ubuntu) you might do (as root):
apt-get update
apt-get install g++