Build and debug Qt projects on Linux with Qt Visual Studio Tools
Qt is a popular cross-platform framework for application development and user interface design. Its various libraries and toolsets can be used to create, test, and deploy applications that target multiple platforms and operating systems including Linux, Windows, macOS and embedded/microcontroller systems. Qt recently released a new version of the Qt Visual Studio Tools extension that integrates with Visual Studio’s Linux development with C++ workload. This extension allows you to build and debug MSBuild-based Qt projects on both Windows and Linux directly from Visual Studio.
To illustrate this integration, Qt has published two tutorials that describe how to create a cross-platform Qt project in Visual Studio that runs on both Windows and an embedded Linux device.
- Part 1: Creating an Embedded Qt Quick Application in Visual Studio (1/2)
- Part 2: Creating an Embedded Qt Quick Application in Visual Studio (2/2)
- This post walks through the steps of running the application on the Raspberry Pi and debugging the application with gdbserver and the front-end of the Visual Studio debugger.
You can read more about the Qt Visual Studio Tools 2.6 release on the Qt blog.