aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-16 09:11:40 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-19 15:59:58 +0200
commitc010364342e3cd749c5ec8e44f1b73e7d8cba99c (patch)
tree55e3828d67da44460f5c9dec497d3197642744e7 /tests/auto/qml/qmllint/data
parentcc57bac899b6e13078197da7c40ad27fade7ee0d (diff)
QmlCompiler: Drop the metaobject revision from exports
Instead, output a warning if the revision doesn't match the version. We want to get rid of generic version/revision matching. To this end, add a way to retrieve the version from an export. Change-Id: Ie887103eba910f14e49faa684ac559cc72cab199 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r--tests/auto/qml/qmllint/data/Things/plugins.qmltypes4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qmllint/data/Things/plugins.qmltypes b/tests/auto/qml/qmllint/data/Things/plugins.qmltypes
index c04961c5ae..99e1fdc466 100644
--- a/tests/auto/qml/qmllint/data/Things/plugins.qmltypes
+++ b/tests/auto/qml/qmllint/data/Things/plugins.qmltypes
@@ -19,13 +19,13 @@ Module {
name: "Frame"
prototype: "MyPane"
exports: ["Things.Templates/Frame 1.0"]
- exportMetaObjectRevisions: [0]
+ exportMetaObjectRevisions: [256]
}
Component {
name: "MyPane"
prototype: "QObject"
exports: ["Things.Templates/Pane 1.0"]
- exportMetaObjectRevisions: [0]
+ exportMetaObjectRevisions: [256]
Property { name: "contentWidth"; type: "double" }
Property { name: "contentHeight"; type: "double" }
Property { name: "contentData"; type: "QObject"; isList: true; isReadonly: true }