aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/configure.json
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-07-10 09:39:16 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-07-13 11:52:57 +0000
commit4dbcd6d618e939f43114fdfc56c492e49eedad7a (patch)
tree2334c3ade03ab8dd3074618e136ac67af472150d /src/qml/configure.json
parent36d1d046470dec970fd7a19be2f77dc83526ffb3 (diff)
Tooling: Add a command line application for QML preview
The "qmlpreview" tool connects to the preview service, and watches any file successfully served to the application. If any of those files change on disk, the new file is sent and the root component is reloaded. Task-number: QDS-181 Change-Id: I2266167ada6e463c11be0d7548c2b96e31e79839 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/configure.json')
-rw-r--r--src/qml/configure.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/qml/configure.json b/src/qml/configure.json
index 7d67db8b2c..481cc553ae 100644
--- a/src/qml/configure.json
+++ b/src/qml/configure.json
@@ -40,6 +40,18 @@
],
"output": [ "privateFeature" ]
},
+ "qml-preview": {
+ "label": "Command line QML Preview tool",
+ "purpose": "Updates QML documents in your application live as you change them on disk",
+ "section": "QML",
+ "condition": [
+ "features.commandlineparser",
+ "features.localserver",
+ "features.process",
+ "features.qml-debug"
+ ],
+ "output": [ "privateFeature" ]
+ },
"qml-devtools": {
"label": "QML Development Tools",
"purpose": "Provides the QmlDevtools library and various utilities.",