qmlpreview
The Qml Preview
The QML Preview tool watches QML and JavaScript files on disk and updates the application live with any changes. The application to be previewed has to have QML debugging enabled. More...
| Usage |
|---|
| qmlpreview [options] executable [parameters...] |
options
| Option | Description |
|---|---|
| –verbose | Print debugging output. |
| -h, –help | Displays help on commandline options. |
| –help-all | Displays help, including generic Qt options. |
| -v, –version | Displays version information. |
| –resource <qrc file> | Pass a .qrc file to help qmlpreview resolve resource paths to file system paths. |
Arguments
| Argument | Description |
|---|---|
| executable | The path of the executable file that loads a QML document. |
| parameters | Arguments of the executable |
Details
Enable QML Debugging
To use qmlpreview on an executable, the executable must be built with the QML debugging infrastructure enabled.
© 2026 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.