When you create a new Qt Quick project from scratch, you have the following options:
You can select a template that uses either the built-in QML types or Qt Quick components for a particular platform. The built-in QML types enable you to create cross-platform applications with a custom look and feel, whereas the components provide the look and feel for a particular platform.
The Qt Quick 1 Application wizard imports Qt Quick 1.1, and therefore, you can use it without changes to develop for platforms that run Qt 4.7.4 (such as MeeGo). To develop for platforms that run Qt 4.7.3 (such as Maemo), you must change the import statement to import Qt Quick 1.0.
The Qt Quick 2 Application wizard imports Qt Quick 2.0. Use it to develop for platforms that run Qt 5.
Qt Quick 2 UI with Controls imports the Qt Quick Controls. This project requires that you have installed the Qt Quick Controls for your Qt version (5.1 or later).
Select File > New File or Project > Applications > Qt Quick 1 UI, Qt Quick 2 UI, or Qt Quick 2 UI with Controls > Choose and follow the instructions of the wizard.
Qt Creator creates the following files:
The import statement in the beginning of the .qml file specifies the Qt modules to import. Each Qt module contains a set of default QML types. Specify a version to get the features you want.
To use JavaScript and image files in the application, copy them to the project folder.
Select File > New File or Project > Applications > Qt Quick Application 1 (Built-in Types) or Qt Quick Application 2 (Built-in Types) > Choose, and follow the instructions of the wizard.
Note: The SDK for a particular target platform might install additional templates for that platform. For example, the Qt Quick Application for MeeGo Harmattan template is installed as part of the MeeGo Harmattan tool chain and the BlackBerry 10 and QNX templates are installed as part of the BlackBerry 10 NDK, BlackBerry NDK, or QNX SDK.
Qt Creator creates the necessary boilerplate files. Some of the files are specific to a particular target platform.
If you have existing QML applications that you want to run in Qt Creator or deploy to mobile devices, select File > New File or Project > Applications > Qt Quick 1 Application (from Existing QML file or Qt Quick 2 Application (from Existing QML File) > Choose to import the main .qml file in your project.
All the other files in the project are automatically added to the application project. Qt Creator adds references to the QML files to a project and creates the additional files necessary for deploying applications to mobile devices.