How do I add MinGW in the Qt Options of Visual Studio Tools? (Visual Studio 2019)
-
Hi,
I would like to use MinGW (32-64) which are both installed on my computer. When I try adding this installation with the Windows Host option selected I get the following:
What is the right configuration to add MinGW and run it on windows?
Thank you in advance
-
@nickph said in How do I add MinGW in the Qt Options of Visual Studio Tools? (Visual Studio 2019):
What is the right configuration to add MinGW and run it on windows?
You can't use MinGW with MSVC IDE. You need Qt compiled for MSVC or compile with QtCreator.
-
@Christian-Ehrlicher said:
You can't use MinGW with MSVC IDE
To be fair you could probably rig this up with CMake (never tried myself). VS has a pretty good support for it so one could use it as an IDE.
@nickph That's not a scenario Visual Studio Tools can help you with though. It's only for MSVC and MSBuild so as @Christian-Ehrlicher said you need a MSVC version of Qt for that.