Using MSVC2015 and Cmake in QtCreator
I want to use Cmake for a better compatibility, so I generated a new project and tried to compile and run it. Everything is fine, but when I try to run it I just get the following error: MSBUILD:-1: error: MSB1009: The project file does not exist.
I use the following software:
Qt Creator 4.6.2
MSVC 2015, 64 bit
Any help is welcome!
Did you follow
note; the integration is not great. Like adding files etc is clumsy.
Yes, I did follow these instructions :/
I'll check the settings again...
EDIT: if I use the MinGW 32Bit Compiler, everything is fine.
What do you have under "CMake Generator" in the kits tab?
I set 'Visual Studio 15 2017' as the Cmake generator. No platform and toolset.
I set 'Visual Studio 2017'
I use the following software: MSVC 2015
See where the problem is?
Change it to NMake Makefiles
Sorry for the late response!
If I use NMake Makefiles, I get the following Error:
-1: error: Failed to activate protocol version: "CMAKE_GENERATOR" is set but incompatible with configured generator value.
I changed to the MSVC 2017 toolchain and configured it the following way:
and I'm getting the same error as above.