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.
You can create following types of projects.
Template | Creates |
---|---|
Qt ActiveQt Server | A simple ActiveX server. |
Qt Class Library | A basic Qt-based dynamic library. |
Qt Console Application | A basic Qt console application. |
Qt Designer Custom Widget | A Qt Designer custom widget plugin. |
Qt Empty Application | An empty Qt application project. |
Qt Quick Application | A Qt Quick application project. |
Qt Test Application | A simple Qt test application. |
Qt Widgets Application | A 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.
© 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.