Home > Mobile >  How qt_creator mingw and MSVC two compilers switch
How qt_creator mingw and MSVC two compilers switch

Time:10-10

I used to write qt programs using mingw compiler, using qt_creator development platform, but now under the vs2010 qt application development, using MSVC compiler, used with mingw compiler program now can't vs2010, also cannot run under qt_creator, a great god, please how to solve this problem, can let qt_creator vs2010 and open before using mingw compiler program.

CodePudding user response:

Can be configured to join in building a suite, I switch is in qtcreator mingw compiler version of the other and MSVC version of qt

CodePudding user response:

I also configured the kit

CodePudding user response:

CodePudding user response:

But at compile time or use MSVC compiler, I don't know how to put MSVC at compile time how to switch to mingw

CodePudding user response:

VS open under the qt project, as long as the open load. Pro file can be the qt plug-in (VS),
Under the qt creator, just choose what kind of compiler (configuration is correct)

CodePudding user response:

Delete the xx. Pro. User
Reload the program, the compiler will prompt you to choose

CodePudding user response:

Qtcreator tools/options/Settings build suite in the kits

CodePudding user response:

Qtcreator tools/options/kits in setting up the build suite and then, in the

CodePudding user response:

Now a new version of QT installation are not old version of the vc compiler support

CodePudding user response:

refer to 6th floor walk every step response:
deleted xx. Pro. User
Reload the program, the compiler will prompt you to choose

With this

CodePudding user response:

refer to 6th floor walk every step response:
deleted xx. Pro. User
Reload the program, the compiler will prompt you to choose


This is right, if you also configure the corresponding QtCreator VS compiler
  •  Tags:  
  • Qt
  • Related