aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/dependencies.json
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-07-22 09:05:35 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-07-22 15:41:09 +0000
commitb85a3da164bbe87832f92038175a52909701bbf1 (patch)
tree0ecf1113141a9545c0567b9d2309e4a9543bd524 /src/imports/controls/dependencies.json
parentf48f317f4ad9a9173eb1edcb2d06ac200a1dd7c7 (diff)
Update plugins.qmltypes for templates and controls
For src/imports/templates, simply running 'make qmltypes' does the job. With src/imports/controls, we must help qmlplugindump a bit: - pass the correct dependencies in a JSON file (or else qmlimportscanner will find .impl imports, which qmlplugindump will fail to import as stand-alone modules) - merge with the plugins.qmltypes from templates to achieve proper type hierarchy The full command for dumping QtQuick.Controls 2.1 types, also seen at the top of src/imports/controls/plugins.qmltypes: qmlplugindump -nonrelocatable QtQuick.Controls 2.1 \ -merge ../templates/plugins.qmltypes \ -dependencies dependencies.json Change-Id: I2d8a24e47e70dd8dd27a2f48fe640faeea8761e2 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/dependencies.json')
-rw-r--r--src/imports/controls/dependencies.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/imports/controls/dependencies.json b/src/imports/controls/dependencies.json
new file mode 100644
index 00000000..4481dd1c
--- /dev/null
+++ b/src/imports/controls/dependencies.json
@@ -0,0 +1,17 @@
+[
+ {
+ "name": "QtQuick",
+ "type": "module",
+ "version": "2.8"
+ },
+ {
+ "name": "QtQuick.Window",
+ "type": "module",
+ "version": "2.2"
+ },
+ {
+ "name": "QtQuick.Templates",
+ "type": "module",
+ "version": "2.1"
+ }
+]