Cannot create Visual Studio 2017 project file
-
Hello,
I'm trying to generate a Visual Studio 2017 project file with the command:
qmake -spec win32-msvc -tp vc
What I get generated is a Visual Studio 2015 project file.
I built an msvc 2017 32-bit version of Qt. I have all of the directories setup (or so I think). I debugged it to the mkspecs/common/msvc-version.conf file where it says that the QMAKE_MSC_VER variable is set to 1900 which is VS 2015. I'm not sure where this value is getting set.
Any help would be appreciated.
Thanks,
Kevin -
Do you have two qmake ? If yes, just which is one in path ? Hope there is no confusion with compiler and Visual studio. Visual Studio 2017 has VC compiler 15.0. Hope this confusion does not exist.
-
Thanks for the reply. I used an absolute path to use the qmake from the msvc2017 directory with the same results.
Kevin