Projects

Qt VS Tools provide wizards for creating 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.

You can also load existing Qt projects into Visual Studio for further development.

Use the integrated Qt Resource editor to manage the resources in Qt projects.

Create a Qt translation source (TS) file and start Qt Linguist from Visual Studio to translate the strings in your application.

To create Qt projects, go to File > New > Project, and search for Qt.

{Qt project wizard templates}

You can create following types of projects.

TemplateCreates
Qt ActiveQt ServerA simple ActiveX server.
Qt Class LibraryA basic Qt-based dynamic library.
Qt Console ApplicationA basic Qt console application.
Qt Designer Custom WidgetA Qt Designer custom widget plugin.
Qt Empty ApplicationAn empty Qt application project.
Qt Quick ApplicationA Qt Quick application project.
Qt Widgets ApplicationA simple Qt widgets application with one form.

Each Qt project provides a wizard that allows you to specify the Qt modules required for your project. For some projects, the wizard also generates a skeleton class or QML type instance to get you started.

To start writing Qt code and building your projects, you must tell Visual Studio where to find the Qt version that you want to use.

The application tutorials contain examples of using the project templates:

See also Add Qt versions and Files.

© 2023 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.