Developing Qt Quick Applications
You can develop Qt Quick applications in the Edit mode or use a separate visual editor, Qt Design Studio.
If you have installed Qt Design Studio, and open a .ui.qml or a .qml file in Qt Creator, it asks you whether you would like to open the file in Qt Design Studio instead. Select Open in Qt Design Studio to open the file in Qt Design Studio. To continue editing the file in Qt Creator, close the info bar. However, we do not recommend editing UI files in the Edit mode because it is easy to add code that is not supported by Qt Design Studio. To hide the question, select Do Not Show Again.
For more information about using Qt Design Studio, see Qt Design Studio Manual.
For more information about Qt QML, Qt Quick, and QML types, see the Qt reference documentation available online and in the Help mode.
The following topics describe Qt Quick application development using Qt Creator:
- Creating Qt Quick Projects
You can use wizards to create Qt Quick projects.
- Using Qt Quick Designer
You can enable the Qt Quick Designer plugin to visually edit UI files (.ui.qml).
- Converting UI Projects to Applications
Qt Quick UI projects (.qmlproject) are useful for creating user interfaces. To use them for application development, you have to convert them to Qt Quick Application projects that contain .pro, .cpp, and .qrc files.
- UI Files
If you switch between Qt Creator and Qt Design Studio or cooperate with designers on a project, you might encounter .ui.qml files. They are intended to be edited in Qt Design Studio only, so you need to be careful not to break the code. To visually edit the files in Qt Creator, enable the Qt Quick Designer plugin.
- Using QML Modules with Plugins
You can load C++ plugins for QML to simulate data.
© 2022 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.