Setting up MSVC 2017 kit using Qt Creator
-
Hi,
I've been setting up the Qt framework on a new PC. I've installed all the kits during the installation, including MSVC 2017 32-bit and 64-bit. However, when I attempt to create a new project, I'm unable to use the MSVC 2017 kit as it gives me an error message saying "No C++ compiler found." What is the recommended method for installing these compilers?
-
C Christian Ehrlicher moved this topic from General and Desktop on
-
Did you install MSVC 2017 correct?
-
Did you install MSVC 2017 correct?
@Christian-Ehrlicher Hi, No, I did not install MSVC 2017 separately. Is that required? I was under the impression that by selecting the MSVC kit during the Qt installation, Qt would take care of the compilers automatically.
-
@Christian-Ehrlicher Hi, No, I did not install MSVC 2017 separately. Is that required? I was under the impression that by selecting the MSVC kit during the Qt installation, Qt would take care of the compilers automatically.
@viniltc Qt SDK doesn't install the MSVC compiler, just the MinGW one.
You can use a package manager like
choco
to install the compiler.Try:
$ choco install visualstudio2017buildtools
Afterwards then select Visual Studio Installer from Start Menu to actually install the compiler.