PDA

View Full Version : Can same Qt Creator switch between MingW and MSVC ?



mut
27th June 2014, 18:03
Hello,

I have installed the default Qt Creator for Qt website.

Can same Qt Creator switch between MingW and MSVC ?

How to install Qt with both two compilers?

C:\Qt\Qt5.2.0\5.2.0\mingw48_32
C:\QtMSVC\Qt5.2.0\5.2.0\msvc2010_opengl

What is the best approach for switching between compiling user code with MingW and MSVC?

Thanks;

Mut

Momergil
27th June 2014, 20:14
Can same Qt Creator switch between MingW and MSVC ?

In principle, yes. If you go to Qt Creator's settings, you will notice that in the Compilers section of Build and Run, you'll probably have all your compilers mentioned there, from where you can create kits (and choose which kits you want to use for each new project). BTOH remember that you also need the proper Qt library.