summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--imports/qtquickcontrols2aglstyle/ProgressBar.qml2
-rw-r--r--imports/qtquickcontrols2aglstyle/Slider.qml2
-rw-r--r--imports/qtquickcontrols2aglstyle/qmldir10
-rw-r--r--imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro4
4 files changed, 14 insertions, 4 deletions
diff --git a/imports/qtquickcontrols2aglstyle/ProgressBar.qml b/imports/qtquickcontrols2aglstyle/ProgressBar.qml
index 6d5e3ae..fca0b8a 100644
--- a/imports/qtquickcontrols2aglstyle/ProgressBar.qml
+++ b/imports/qtquickcontrols2aglstyle/ProgressBar.qml
@@ -16,7 +16,7 @@
import QtQuick 2.6
import QtQuick.Templates 2.0 as T
-import QtGraphicalEffects 1.0
+import Qt5Compat.GraphicalEffects
T.ProgressBar {
id: control
diff --git a/imports/qtquickcontrols2aglstyle/Slider.qml b/imports/qtquickcontrols2aglstyle/Slider.qml
index 5b6a495..02f4555 100644
--- a/imports/qtquickcontrols2aglstyle/Slider.qml
+++ b/imports/qtquickcontrols2aglstyle/Slider.qml
@@ -16,7 +16,7 @@
import QtQuick 2.6
import QtQuick.Templates 2.0 as T
-import QtGraphicalEffects 1.0
+import Qt5Compat.GraphicalEffects
T.Slider {
id: root
diff --git a/imports/qtquickcontrols2aglstyle/qmldir b/imports/qtquickcontrols2aglstyle/qmldir
new file mode 100644
index 0000000..e4e4417
--- /dev/null
+++ b/imports/qtquickcontrols2aglstyle/qmldir
@@ -0,0 +1,10 @@
+module AGL
+ApplicationWindow 1.0 ApplicationWindow.qml
+Button 1.0 Button.qml
+Label 1.0 Label.qml
+Page 1.0 Page.qml
+ProgressBar 1.0 ProgressBar.qml
+Slider 1.0 Slider.qml
+Switch 1.0 Switch.qml
+TextField 1.0 TextField.qml
+Tumbler 1.0 Tumbler.qml \ No newline at end of file
diff --git a/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro b/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
index 5a34485..ba24e9d 100644
--- a/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
+++ b/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
@@ -1,8 +1,8 @@
TEMPLATE = aux
-DISTFILES = *.qml images
+DISTFILES = *.qml images qmldir
files.files = $$DISTFILES
-files.path = $$PREFIX$$[QT_INSTALL_QML]/QtQuick/Controls.2/AGL
+files.path = $$PREFIX$$[QT_INSTALL_BINS]/AGL
INSTALLS += files