diff --git a/ScreenPlay/qml/Common/GrowIconLink.qml b/ScreenPlay/qml/Common/GrowIconLink.qml index 53409750..23d1787d 100644 --- a/ScreenPlay/qml/Common/GrowIconLink.qml +++ b/ScreenPlay/qml/Common/GrowIconLink.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick import Qt5Compat.GraphicalEffects import QtQuick.Controls.Material diff --git a/ScreenPlay/qml/Common/MouseHoverBlocker.qml b/ScreenPlay/qml/Common/MouseHoverBlocker.qml index d22f2bf4..1b793f65 100644 --- a/ScreenPlay/qml/Common/MouseHoverBlocker.qml +++ b/ScreenPlay/qml/Common/MouseHoverBlocker.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick MouseArea { anchors.fill: parent diff --git a/ScreenPlay/qml/Common/RippleEffect.qml b/ScreenPlay/qml/Common/RippleEffect.qml index da833dfc..aca3ac2c 100644 --- a/ScreenPlay/qml/Common/RippleEffect.qml +++ b/ScreenPlay/qml/Common/RippleEffect.qml @@ -4,7 +4,7 @@ * (THE BSD 2-CLAUSE LICENSE) */ -import QtQuick 2.0 +import QtQuick import Qt5Compat.GraphicalEffects import QtQuick.Controls.Material diff --git a/ScreenPlay/qml/Common/Search.qml b/ScreenPlay/qml/Common/Search.qml index 059e94b8..46ec1108 100644 --- a/ScreenPlay/qml/Common/Search.qml +++ b/ScreenPlay/qml/Common/Search.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick import QtQuick.Controls import QtQuick.Controls.Material 2.0 import ScreenPlay 1.0 diff --git a/ScreenPlay/qml/Common/TrayIcon.qml b/ScreenPlay/qml/Common/TrayIcon.qml index c9e60406..4a5e4e90 100644 --- a/ScreenPlay/qml/Common/TrayIcon.qml +++ b/ScreenPlay/qml/Common/TrayIcon.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick import Qt.labs.platform 1.1 import ScreenPlay 1.0 diff --git a/ScreenPlayWallpaper/qml/GifWallpaper.qml b/ScreenPlayWallpaper/qml/GifWallpaper.qml index a7d1bb60..13c3786a 100644 --- a/ScreenPlayWallpaper/qml/GifWallpaper.qml +++ b/ScreenPlayWallpaper/qml/GifWallpaper.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick AnimatedImage { } diff --git a/ScreenPlayWallpaper/qml/MultimediaView.qml b/ScreenPlayWallpaper/qml/MultimediaView.qml index 8704211e..157bb6a1 100644 --- a/ScreenPlayWallpaper/qml/MultimediaView.qml +++ b/ScreenPlayWallpaper/qml/MultimediaView.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick import QtMultimedia import ScreenPlayWallpaper 1.0 diff --git a/ScreenPlayWallpaper/qml/Wallpaper.qml b/ScreenPlayWallpaper/qml/Wallpaper.qml index f74ccab1..ac1815e4 100644 --- a/ScreenPlayWallpaper/qml/Wallpaper.qml +++ b/ScreenPlayWallpaper/qml/Wallpaper.qml @@ -67,7 +67,7 @@ Rectangle { } function onQmlSceneValueReceived(key, value) { - var obj2 = 'import QtQuick 2.0; Item {Component.onCompleted: loader.item.' + key + ' = ' + value + '; }'; + var obj2 = 'import QtQuick; Item {Component.onCompleted: loader.item.' + key + ' = ' + value + '; }'; var newObject = Qt.createQmlObject(obj2.toString(), root, "err"); newObject.destroy(10000); } diff --git a/ScreenPlayWallpaper/qml/WebView.qml b/ScreenPlayWallpaper/qml/WebView.qml index 7103aa7f..ba15d4e1 100644 --- a/ScreenPlayWallpaper/qml/WebView.qml +++ b/ScreenPlayWallpaper/qml/WebView.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick import QtWebEngine import ScreenPlay.Enums.InstalledType 1.0 import ScreenPlayWallpaper 1.0