The Visual Studio 2017 is released, when qt msvc2017 version release?
The Visual Studio 2017 is good, but the c/++ compiler has updated. But the current version 5.8 of Qt is not support the newest Visual C++. I hope official release qt with msvc2017
@Inuyasha Qt VS2015 should work with VS2017 as far as I know. Just try.
@jsulm I know. But it need VS 2017 add-in. tools. Building Qt project on Visual Studio is slow. And Qt Creator cant't detected Visual C++ 14.0 though it's exist in my machine.
@Inuyasha If it does not detect you still can try to add manually
I have the same problem (kit: Desktop Qt 5.8.0 MSVC2015_64bit) but Qt Creator doesn't reveal the correct compiler of VS2017.
The automatic kits setup in QtCreator is aimed at matching MSVC and Qt packages. If you want to use the prebuilt Qt 5.8.1 VS2015 package with VS2017 you can, but you need to manually set up a new kit:
- Go to Tools -> Options
- Make sure that on the Compilers tab there's a
Microsoft Visual C++ Compiler 15.0 (amd64). If there's not there's something wrong with your VS setup. Maybe you did not selected the c++ workload in the setup.
- Make sure that on the Qt Versions tab there's a
Qt 5.8.1 MSVC2015_64bit
- Go to the Kits tab, click Add and set it up as follows:
- Name: whatever you want
- Compiler (C and C++): Microsoft Visual C++ Compiler 15.0 (amd64)
- Debugger: Auto-detected CDB at <path to CDB> //if there's no such option you have not installed the debugger
- Qt version: Qt 5.8.1 MSVC2015_64bit
Apply and you should be able to use this mixed VS2017+QtVS2015 configuration in your projects.
OK. But wher we can get download/install Qt 5.8.1 MSVC2015_64bit verssion?
For verssion Qt 5.9 MSVC2015_64bit with QtCreator the Microsoft Visual C++ Compiler 15.0 (amd64) is not compatible.
The easiest way is to use the online installer. Both Qt 5.8.1 and Qt 5.9 Beta 3 are available through it. Install the
msvc2015 64-bitpackage for any of these versions.
If you're using VS2017 QtCreator won't make a kit for you automatically. Follow the steps I gave to create a kit manually. Qt Creator will complain (a red exclamation mark will show up next to the kit) but it will work non the less. Backwards compatibility is something new in VS2017 and QtCreator's diagnostics didn't catch up yet, but the configuration is ok.
@Chris-Kawa - Thanks for your reply.
You are right. It works. One remarque: online installer have only verssion 5.8.0-1, not 5.8.1.
One remarque: online installer have only verssion 5.8.0-1, not 5.8.1.
Right, sorry, there are so many current versions now that I got it mixed up ;) The info applies the same though.
I keep getting the
 - Project ERROR: No UCRTVersion found in environment.
error while configuring the project in vs 2017. please help!