I have searched everywhere but I can't seem to find support for the latest Visual Studio version.
Is there some way of getting round this?
In Microsoft Visual Studio, select Extensions > Manage Extensions > Online, and search for Qt Visual Studio Tools to install or update Qt VS Tools.
Qt for Python is one of the best GUI framework available for Python. We can build standard desktop GUI applications but the framework also comes with a lot of features such as data visualization or OpenGL support. The developer tools available are another powerful feature of the framework.
Under tools select Extensions and Updates. click the Online arrow on the left and search for Qt. Install the Qt Visual Studio Tools extension. Restart the Visual Studio 2019 IDE and under Qt VS Tools –> Qt Options add the Qt version 5.14 with associated directory C:\qt\5.14.
Qt 5.9.1 and later versions are pre-built for VS 2017 64 bits. You can download it from official Qt webpage. If you need 32 bits I'm sorry to tell you that you will need to compile it manually (good luck, it is usually not a straightforward nor simple process). See updates below.
In addition, you will need the VS Tools. You can download latest version for VS 2017 from here (official downloads page hasn't been updated yet about this). There is no stable version for VS 2017 (see update below), but the latest (although a bit old) development build fixes major integration problems. You can downloaded from here.
Finally, just take a look at the official documentation for a quick tutorial about how to use it. Basically:
UPDATE: as mentioned in this post from MSDN, binaries generated usign VS 2015 are compatible with VS 2017. So in this case, the Qt compilations for 2015 (32 and 64 bits) should also work.
UPDATE (2018-9-13): since two months ago we've been using the 32-bits build from VS 2015 in VS 2017 (including the latest 15.8.4 update). No issues found so far in this sense.
UPDATE (2018-12-10): Qt 5.12.0 (LTS) comes with precompiled binaries for VS 2017 32 and 64 bits.
UPDATE: last February was launched the first official release of the VS Tools for VS 2017. You can read more on it in the Qt's blog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With