How to

The following topics describe how to set up Qt VS Tools and to use them to create, build, debug, and localize Qt applications.

Set up Qt VS Tools

Install Qt VS Tools in Microsoft Visual Studio, and then tell it where to find the Qt versions that you want to develop with.

Create

Use wizards to create several types of Qt and Qt Quick projects and files that you add to the projects, such as classes, form files, or custom QML types.

Edit

With IntelliSense information and the QML Language Server support, you get code editing features for C++ and QML types.

Build

Qt VS Tools integrate with MSBuild, and therefore, you build Qt applications as Visual Studio projects. Special build rules called Qt/MSBuild let you run Qt build tools and set build options for them.

Debug

With a debugger, you can see what happens inside an application while it runs or when it crashes. You can debug Qt Widgets and Qt Quick applications.

Test

Use QtTest, the Qt Testing Framework, to unit test Qt-based applications and libraries. Write tests, use Test Explorer, create test suites, and test graphical user interfaces.

Localize

Use Qt translation tools to adapt applications for a specific region or language by adding locale-specific components such as date, time, and number formats and translating text.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.