MSVC 2017 vs 2015



  • Hi I have a quick question - is there any good reason to choose MSVC 2017 over 2015? Any relevant significant advantages? I'm using Qt 5.9.1. Also is there a 32-bit MSVC 2017? I didn't notice one in the qt online installer and would prefer to maintain 32-bit compatibility.
    Thanks!



  • I'm using Qt 5.9.1. Also is there a 32-bit MSVC 2017?

    Yes, as highlighted here. You might need to compile it yourself instead of using the pre-compiled binary.

    is there any good reason to choose MSVC 2017 over 2015?

    IDE related: https://docs.microsoft.com/en-us/visualstudio/ide/whats-new-in-visual-studio
    C++ related: https://docs.microsoft.com/en-gb/cpp/what-s-new-for-visual-cpp-in-visual-studio



  • Thanks VRonin. How come there's no msvc 2017 32-bit in the online installer? Also to use I need to compile myself? How does that work - do you mean to just compile using the MSVC compiler as included with Visual Studio? Is there a way to integrate it into the Qt Creator IDE?

    0_1505159441311_0e36e4a8-d59b-4597-9e5a-785813d14324-image.png


  • Moderators

    @Crag_Hack said in MSVC 2017 vs 2015:

    How come there's no msvc 2017 32-bit in the online installer?

    I remember there has been a long discussion about it on the Qt mailing list, but I don't remember the outcome (and I can't seem to be able to find it now, sorry :-().

    Also to use I need to compile myself?

    Yes.

    How does that work - do you mean to just compile using the MSVC compiler as included with Visual Studio?

    Yes. There are many ways to compile Qt, the most complete guide is here. Just remember to run the 32 bit MSVC toolchain and verify that configure chose the right mkspecs.

    Is there a way to integrate it into the Qt Creator IDE?

    Yes, just go to QtC options, Build&Run, Qt Versions and add the one you compiled - browse to qmake.exe binary. Then you can add a Kit and use it as usual.



  • More info here. See the comment link.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.