Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-04-04 16:55:52 +0200
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-06-14 12:34:08 +0200
commitd78151f89b2c374af366bee536c8ceeae3b2ab5e (patch)
tree807473b4c90cd1c324f95ffead8516f1bb6f2150 /sources/pyside-tools/pyside_tool.py
parent73adefe22ffbfabe0ef213e9c2fe2c56efdd7488 (diff)
tools: add pyside6-qml
- pyside6-qml is a tool that mimics the capabilities of qml utility and enables quick prototyping for qml files. Most cli options of the qml tool are carried forward to this tool. example-usage: pyside6-qml -a gui examples/declarative/editingmodel/main.qml To see all the cli options available with this tool, do: pyside6-qml --help Task-number: PYSIDE-1878 Pick-to: 6.3 Change-Id: I98bd77ccf6a0a286bb54da264312e81bf2964dc7 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside-tools/pyside_tool.py')
-rw-r--r--sources/pyside-tools/pyside_tool.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/pyside-tools/pyside_tool.py b/sources/pyside-tools/pyside_tool.py
index 4864f365f..5e930f1e2 100644
--- a/sources/pyside-tools/pyside_tool.py
+++ b/sources/pyside-tools/pyside_tool.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
import sys
import os
from pathlib import Path
@@ -145,5 +146,9 @@ def project():
pyside_script_wrapper("project.py")
+def qml():
+ pyside_script_wrapper("qml.py")
+
+
if __name__ == "__main__":
main()