News

Qt Visual Studio Tools Updated for Cross-Platform C++ Development

The Qt Company has updated its Qt Visual Studio Tools extension for C++ development in Microsoft's flagship IDE, offering a new beta version compatible with Visual Studio 2017.

In true cross-platform development, the venerable C++ language is championed for its close-to-the-metal performance, despite its oft-maligned complexities.

For hard-core programmers painstakingly optimizing for speed, it's still one of the top choices, underlying the critical functionality of many of the world's most popular applications (including Visual Studio itself), while less-important functionality is handled by more modern, developer-friendly languages.

Now, for those hard-core coders and anyone else daring to dip into C++ development (and who don't want to use Microsoft's bevy of C++ tools), a new beta version of Qt Visual Studio Tools that supports Visual Studio 2017 is available on the Visual Studio Marketplace. Its description there reads: "The Qt Visual Studio Tools allow developers to use the standard development environment without having to worry about any Qt-related build steps or tools."

Its main features are listed as:

  • Wizards for creating new Qt projects and classes.
  • Automated build setup for the Meta-Object Compiler (moc), User Interface Compiler (uic), and Resource Compiler (rcc).
  • Import and export of Qt project files (.pro) and project include files (.pri).
  • Automated conversion of a Qt VS Tools project to a qmake project, or the other way around.
  • Integrated Qt resource management.
  • Integrated Qt documentation.
  • Debugging extensions for Qt data types.

While the extension is provided by Finland-based The Qt Company, which develops a fully commercialized version of the cross-platform application framework, open source development of Qt is governed by the Qt Project.

The Qt Company yesterday announced version 2.1.2 beta for the Visual Studio extension, which is now compatible with Visual Studio 2017.

"We have released a new beta of the Qt Visual Studio Tools, corresponding to version 2.1.2," the company said. "It is available in the Visual Studio Marketplace and can be installed directly from within Visual Studio 2017 (through the 'Tools > Extensions and Updates ...' menu). Alternatively, it can be downloaded from this page."

Support for Visual Studio 2017 was a feature requested by developers, as can be seen in the extension's Q&A. Visual Studio developers have downloaded the extension (which appears with a "2015" reference) more than 49,000 times. The Qt Company claims an ecosystem featuring some 1 million developers.

The extension has been reviewed by 11 developers, who have awarded it a 3.9 average rating (out of 5).

"So great!" reads one comment. "I'm a C++ programmer, I often use Qt framework to create my GUI applications and have to use Qt Creator to write this applications. But I really prefer to use Visual Studio, because that supports me to code strongly. I really like this tool that has helped me to use Qt framework easily on Visual Studio."

Several others, however, voiced complaints, some concerning various problems when trying to use the extension with Visual Studio 2017, though it targeted Visual Studio 2015.

The company itself provided some caveats about using the new beta for VS 2017.

"For the moment, version 2.1.2 is only available for Visual Studio 2017," it said. "There is also one noteworthy issue: Qt projects will be configured with version 8.1 of the Windows SDK, and building will result in an error if the SDK is not installed. The status of this issue and description of a workaround can be found here.

"We will continue working on this and other issues and suggestions reported through bugreports.qt.io with a view to providing an official release of the Qt Visual Studio Tools, which will also be available for Visual Studio 2013 and 2015."

Just as C++ is a top choice for mission-critical applications, the 22-year-old Qt framework is often a top choice for using C++.

Here's what careers site Dice said about it last year: "This older framework has reinvented itself with its latest incarnation, Qt 5, which is used in everything from mobile apps to automobiles and medical devices. One of its big strengths is the windowing system, which lets you create user interfaces, and includes advanced features such as displaying charts, data visualizations and maps from third-party providers. Qt Version 5 now handles touch as well as mouse and keyboard handling, and you can add virtual keyboards on X11 and Windows. On KDE Linux, Qt is the native GUI library, so if you are developing for KDE platforms, then you should consider Qt."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube