1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-26 12:42:34 +01:00

Remove more deprecated version import

This commit is contained in:
Elias Steurer 2021-10-08 10:14:11 +02:00
parent 223d6225c2
commit 3650f9bfb1
9 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick
import Qt5Compat.GraphicalEffects import Qt5Compat.GraphicalEffects
import QtQuick.Controls.Material import QtQuick.Controls.Material

View File

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent

View File

@ -4,7 +4,7 @@
* (THE BSD 2-CLAUSE LICENSE) * (THE BSD 2-CLAUSE LICENSE)
*/ */
import QtQuick 2.0 import QtQuick
import Qt5Compat.GraphicalEffects import Qt5Compat.GraphicalEffects
import QtQuick.Controls.Material import QtQuick.Controls.Material

View File

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick
import QtQuick.Controls import QtQuick.Controls
import QtQuick.Controls.Material 2.0 import QtQuick.Controls.Material 2.0
import ScreenPlay 1.0 import ScreenPlay 1.0

View File

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick
import Qt.labs.platform 1.1 import Qt.labs.platform 1.1
import ScreenPlay 1.0 import ScreenPlay 1.0

View File

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick
AnimatedImage { AnimatedImage {
} }

View File

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick
import QtMultimedia import QtMultimedia
import ScreenPlayWallpaper 1.0 import ScreenPlayWallpaper 1.0

View File

@ -67,7 +67,7 @@ Rectangle {
} }
function onQmlSceneValueReceived(key, value) { 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"); var newObject = Qt.createQmlObject(obj2.toString(), root, "err");
newObject.destroy(10000); newObject.destroy(10000);
} }

View File

@ -1,4 +1,4 @@
import QtQuick 2.0 import QtQuick
import QtWebEngine import QtWebEngine
import ScreenPlay.Enums.InstalledType 1.0 import ScreenPlay.Enums.InstalledType 1.0
import ScreenPlayWallpaper 1.0 import ScreenPlayWallpaper 1.0