diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-23 15:31:57 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-10-23 18:21:15 +0000 |
commit | c5ec9f64ac5a7cf15a0013e0fda9b5e4d757d783 (patch) | |
tree | 61b9b6bbcb71d866910f1ec9065a2457d4c1b53a /tests/manual/testbed/TestOpacityMask.qml | |
parent | 314a2b53a885a41f0a220fdcd5e8cd4592078b29 (diff) |
add qmlRegisterModule to QML plugins (QUIP 99)
Now it should always be possible to do
import QtGraphicalEffects 1.m
where m is Qt's minor version.
[ChangeLog][Qt Graphical Effects] In Qt 5.12 and newer versions, this
module is available with the same minor version as the Qt release
minor version number. For example import QtGraphicalEffects 1.12 will
work in Qt 5.12, even though there has been no API change, and the
maximum possible import version will automatically increment in future
Qt versions. This is intended to reduce confusion.
Change-Id: I4fa13fa9a662933161ff726a3e2ba586b2f7f6ff
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/manual/testbed/TestOpacityMask.qml')
-rw-r--r-- | tests/manual/testbed/TestOpacityMask.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/testbed/TestOpacityMask.qml b/tests/manual/testbed/TestOpacityMask.qml index a844911..12b1b0c 100644 --- a/tests/manual/testbed/TestOpacityMask.qml +++ b/tests/manual/testbed/TestOpacityMask.qml @@ -26,8 +26,8 @@ ** ****************************************************************************/ -import QtQuick 2.0 -import QtGraphicalEffects 1.0 +import QtQuick 2.12 +import QtGraphicalEffects 1.12 TestCaseTemplate { ImageSource { |