The Visual Studio 2017 is released, when qt msvc2017 version release?
-
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.
-
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-bit
package 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.
Best regards -
@vbox said in The Visual Studio 2017 is released, when qt msvc2017 version release?:
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
[1] - Project ERROR: No UCRTVersion found in environment.
error while configuring the project in vs 2017. please help!