- Windows, Linux or macOS
- Qt5.4 or higher
You can install QML Live via the Qt Installer with a valid license for Qt Automotive Suite. Alternatively, you can also obtain the source code from https://code.qt.io/cgit/qt-apps/qmllive.git/.
QML Live uses qmake for its build system. The basic build steps are:
To start QML Live Bench directly from the build directory, run
./bin/qmllivebench. Optionally, you can also install QML Live Bench with the following command:
If you want to have live reloading enabled on the target device, use the following command:
# using qmake from cross compiler toolchain qmake "CONFIG+=skip-bench skip-examples static-link-runtime" make
You need to cross-compile QML Live and copy the
./bin/qmlliveruntime binary onto the target.
Optionally, you can package QML Live with the following command:
make install INSTALL_ROOT=...
To build the documentation only, run the following commands:
qmake CONFIG+=force_independent make docs
The documentation is available at:
The following options can be added to the qmake
|skip-bench||Do not build QML Live Bench|
|skip-examples||Do not build examples|
|skip-runtime||Do not build QML Live Runtime|
|skip-tests||Do not build tests|
|static-link-runtime||Produce a single QML Live Runtime executable binary. If this option is disabled, QML Live Runtime executable requires that the |
The following custom qmake variables are recognized:
|PREFIX||Installation prefix; defaults to |
|EXAMPLES_PREFIX||Installation prefix for examples; defaults to |
|QMLLIVE_VERSION_EXTRA||Distribution specific version description; white spaces are allowed.|
|QMLLIVE_REVISION||The VCS revision number.|
© 2019 Luxoft Sweden AB. 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.