Karsten Heimrich

Qt Visual Studio Tools 2.0 Released

Published Friday November 11th, 2016
22 Comments on Qt Visual Studio Tools 2.0 Released
Posted in Dev Loop, integration, Labs, Qt, Random, Releases, Uncategorized, upgrading, Visual Studio, Windows

Today we are releasing Qt Visual Studio Tools 2.0. This is mainly a release moving the functionality of the old Visual Studio Add-In to newer versions of Visual Studio. In addition to some minor bug fixes the Qt Visual Studio Tools now support Visual Studio 2013 and Visual Studio 2015. The commercial version of the Add-In has been merged and there is now also support for Qt Quick (QML) in the free version of the tools. We also made them available through the Visual Studio Gallery. The version for Visual Studio 2013 can be downloaded here, while you can get the Visual Studio 2015 Version here.

Documentation:

Main Changes:

  • Supports Visual Studio 2013 and 2015
  • Major code refactoring, build system updates, and code cleanup
  • New wizard system based on the Visual Studio extension system
  • Out of the box support for Qt Type C++ Debugger Visualizers (natvis)
  • QML highlighting support
  • F1 help support

Known Issues:

  • Missing localization support
  • Supports only installed versions of Qt
  • Dropped support for older Visual Studio versions and Windows CE

Get the Qt VS Tools

The Qt Company has prepared convenient installers for the Qt Visual Studio Tools 2.0. You can download it from your Qt Account or from download.qt.io. They are also available from the Visual Studio Gallery for Visual Studio 2013 and Visual Studio 2015.

For any issues you may find with the release, please submit a detailed bug report to bugreports.qt.io (after checking for duplicates). You are also welcome to join the discussions in the Qt Project mailing lists, development forums and to contribute to Qt.

Do you like this? Share it
Share on LinkedInGoogle+Share on FacebookTweet about this on Twitter

Posted in Dev Loop, integration, Labs, Qt, Random, Releases, Uncategorized, upgrading, Visual Studio, Windows

22 comments

avb says:

Regarding ‘Open Qt Project File (.pro)…’:
It would be nice to have an option which enables that the files system folder structure is reflected in the project folder structure, like Qt Creator does.

Currently all Source files are located in the root of ‘Source Files’ and Header files are located under the root of ‘Header Files’, regardless if there are located in subfolders or not.

As workaround I have written a Python script which modifies all .vcxproj.* files to achieve this.

Such an option would make it easier to achieve this…

gri says:

I think you’re looking for the “CONFIG -= flat” option. See http://doc.qt.io/qt-5/qmake-variable-reference.html

avb says:

That’s it. Fantastic!

Thank you very much!

ABCplus says:

Can Qt Visual Studio Tools 2.0 and Visual Studio Add-In live together?

Karsten Heimrich Karsten Heimrich says:

Well, they kinda work together. But if you don’t need support for Visual Studio before 2013, I would recommend to remove the old Add-In.

ABCplus says:

It seems not, I just tested it and filed a case here: https://bugreports.qt.io/browse/QTVSADDINBUG-436

Anon says:

If I try to open the integrated help with alt+F1, it wants to open a html file. I’m on Windows 7 and Qt 5.5.1, and in the specific folder are only .xml, .index, .qhp and .tags files. Did that change in later Qt Versions?

Karsten Heimrich Karsten Heimrich says:

No, later versions didn’t change. It seems later versions did change! Usually this folder should contain the mentioned files as well as .html files. This is the case with Qt 5.6 and above. Anyway, it is rather hard to guess what might go wrong for you, I would recommend to open a bug report at https://bugreports.qt.io/browse/QTVSADDINBUG

Karsten Heimrich Karsten Heimrich says:

You can try to change the displayed documentation to use the online version, to do this got to Visual Studio Main Menu: Help | Set Qt Help Preference | Use Online Documentation Hope that helps.

Anon says:

It does, thanks. I will open a bugreport later.

GooRoo says:

Do you have any plans to create some plugins for JetBrains CLion and MS Visual Studio Code? At least proper QML syntax highlight.

Karsten Heimrich Karsten Heimrich says:

There are no plans to integrate with JetBrains CLion, though MS Visual Studio Code seems to be doable (the QML part). You should file a feature request here.

Colin Jensen says:

Will you be supporting Visual Studio 15 promptly in a few weeks? Or do you still figure that people using the newest Qt stuff will be okay with using an old version of Visual Studio? 15 has been in beta for a looong time, so you’ve had plenty of time to work on it.

Even if I wasn’t a bleeding edge guy, this is still a problem. Suppose in a year I finally switch to a year-old version of Qt that is nicely stabilized. I shouldn’t have to also use a three year-old version of Visual Studio to do that.

Would really really love it if you guys upped your game on this!

Karsten Heimrich Karsten Heimrich says:

Suppose you switch in a year, there is still plenty of time to work on it – No? Once Microsoft releases the final version of Visual Studio 15, you will be able to use it with the integration. If you really need it earlier, the code is available here and we will happily accept patches. 🙂

Karim Benyamna says:

First of all, great work, as always. 😉
A simple change in required version could be made in a “testing / not very stable” branch ? Or some heavy work is needed each time a new VS version come in ? Even if some feature will be lacking, something is better than nothing.

Karsten Heimrich Karsten Heimrich says:

I did an initial commit that supports VS 2017 RC, you can find it here: https://codereview.qt-project.org/#/c/177499 Once we did some more testing, I will upload an RC at download.qt.io.

NuShrike says:

MOC’ing process is still broken. It will MOC on every compile no matter if nothing changed.

Karsten Heimrich Karsten Heimrich says:

Are you talking about https://bugreports.qt.io/browse/QTVSADDINBUG-410? I could reproduce the issue here, I will try to fix it for the next release. Please note that the 2.0 release was not a bug fix release in the common sense, it was merely to get the integration up and running with newer versions of Visual Studio.

Karim Benyamna says:

First of all, great work, as always. 😉
A simple change in required version could be made in a “testing / not very stable” branch ? Or some heavy work is needed each time a new VS version come in ? Even if some feature will be lacking, something is better than nothing.

Anders Kielsholm says:

Hi, really great news! The add-in was the reason why we didn’t want to update to VS2015.

Are you planning on supporting VS2017 too? (It is currently released as a RC)

Anders Kielsholm says:

Hi! Great to hear about this tool – the add-in has been the reason why we haven’t upgraded to VS2015.

Are you planning on supporting VS2017 right away too? (VS2017 came out as a RC last week)

Karsten Heimrich Karsten Heimrich says:

I did an initial commit that supports VS 2017 RC, you can find it here: https://codereview.qt-project.org/#/c/177499 Once we did some more testing, I will upload an RC at download.qt.io.

Commenting closed.

Get started today with Qt Download now