- Qt Creator Manual
- Create Qt Quick Applications
- Qt Creator Manual 13.0.0-beta2

How To

# Create Qt Quick Applications

You can create Qt Quick applications that can have both QML and C++ code. Build the applications and deploy them to desktop, embedded, and mobile target platforms.

You can select an option to create a project that you can open in a separate visual editor, Qt Design Studio.

To create a Qt Quick Application project:

1. Select File > New Project > Application (Qt) > Qt Quick Application > Choose.

   Note: To use qmake as the build system, develop with Qt 5, or add translations to the application, select Qt Quick Application (compat).

2. In the Project Location dialog, Name field, enter a name for the project. Keep in mind that you cannot easily change the project name later.
3. In the Create in field, enter the path for the project files. Select the Use as default project location check box to create new projects in this folder by default. You can move project folders later without problems.
4. Select Next (or Continue on macOS) to open the Define Build System dialog.

   To create a project that you can develop with a visual editor in Qt Design Studio, select Create a project that you can open in Qt Design Studio.

5. In the Build system field, select the build system to use for building and running the project: CMake or Qbs.
6. Select Next to open the Define Project Details dialog.
7. Select the Qt version to develop with in the Minimum required Qt version field. The Qt version determines the Qt Quick imports that are used in the QML files.
8. Select the Use Qt Virtual Keyboard check box to add support for Qt Virtual Keyboard to the application.

   Note: If you have not installed the Qt Virtual Keyboard module when you installed Qt, an error message will appear when you try to open Main.qml for editing. You can use Qt Maintenance Tool to install Qt Virtual Keyboard.

9. Select Next to open the Kit Selection dialog.
10. Select kits for the platforms that you want to build the application for.

    Note: Kits are listed if they have been specified in Preferences > Kits. For more information, see Add kits and Kits.

11. Select Next to open the Project Management dialog.
12. Review the project settings, and select Finish (on Windows and Linux) or Done (on macOS) to create the project.

Qt Creator creates a QML file, Main.qml, that you can modify in the Edit mode.

See also Create Qt Quick UI Prototypes, Creating a Mobile Application, Creating a Qt for Python Application with Qt Quick, Creating a Qt Quick Application, Creating Projects, and Developing Qt Quick Applications.

How To