Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to configure Qt 5.13 with VS2019 Compiler



  • I was having issues with CMake not detecting my VS2017 Compiler. That is a whole different topic. I solved my issues by installing Visual Studio 2019 and all my CMake issues went away. However, now I am trying to configure my Qt projects with the Visual Studio 2019 compiler and I am finding that I have configuration issues.

    I manually added the kits for both the 32-bit and 64-bit versions of the 2019 compiler. However, I could not find a compatible Qt version that already has MSVC 2019 with it. I seem to only have MSVC 2015 QMake and MSVC 2017 QMake. Is there a way to get a compatible Qt version for MSVC 2019?



  • MSVC2019 is not officially supported but the MSVC2017 libraries should be binary compatible with MSVC2019

    I was having issues with CMake not detecting my VS2017 Compiler.

    Normally you can fix it by just calling vcvarsall.bat that is located in the VC directory before calling CMake



  • @VRonin That would explain it. Thank you for your response. I have tried so many things to get CMake to detect 2017's compiler but I can't get it to work. Again, it's a different topic and I have a post on Stack Overflow dedicated to it. Do we have a time frame on when 2019 will be officially supported?


Log in to reply