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...] |
| 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. |
| Argument | Description |
|---|---|
| executable | The path of the executable file that loads a QML document. |
| parameters | Arguments of the executable |
To enable QML debugging, make sure you build your application with appropriate configuration parameters. When using qmake, you should add CONFIG+=qml_debug in the .pro
file. If you use another build system, then QT_QML_DEBUG variable should be defined.
qt_add_executable(MyApp ... ) target_compile_definitions(MyApp PRIVATE QT_QML_DEBUG)
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: