diff options
author | Marco Benelli <marco.benelli@qt.io> | 2016-11-04 11:04:54 +0100 |
---|---|---|
committer | Marco Benelli <marco.benelli@qt.io> | 2016-11-09 15:29:43 +0000 |
commit | cc86bf1a231ad5ec67495af701b5b6b58fc61815 (patch) | |
tree | e75d02a563b8974ee5752826cfc41d5ec0b95311 | |
parent | 94acdbfbdf8eef9e22d50d307be32cc3e21b9081 (diff) |
Update Window plugins.qmltypes
Some signals (ie onClosing) as marked as error by QtCreator because
they are registered with version 1 or 2, while QQuick is exported only
as version 0. Exporting version 1 or 2 of QQuickWindow seems to cause
some conflicts with QQuickWindowImpl. So the plugins.qmltypes has
been manually updated.
Task-number: QTBUG-47917
Change-Id: I2ddacfbf0564d8ecfbaadc0323011dbd18439c36
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
-rw-r--r-- | src/imports/window/plugins.qmltypes | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/imports/window/plugins.qmltypes b/src/imports/window/plugins.qmltypes index 6a8dbfa024..a79bd8c332 100644 --- a/src/imports/window/plugins.qmltypes +++ b/src/imports/window/plugins.qmltypes @@ -55,8 +55,12 @@ Module { name: "QQuickWindow" defaultProperty: "data" prototype: "QWindow" - exports: ["QtQuick.Window/Window 2.0"] - exportMetaObjectRevisions: [0] + exports: [ + "QtQuick.Window/Window 2.0", + "QtQuick.Window/Window 2.1", + "QtQuick.Window/Window 2.2" + ] + exportMetaObjectRevisions: [0, 1, 2] Enum { name: "SceneGraphError" values: { |