summaryrefslogtreecommitdiffstats
path: root/framework/qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-06 17:11:39 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-06 17:11:39 +0200
commit36666d3fdb18fe7b1b453ec8e136f77304424d18 (patch)
treefc03c13ec2a4752cff7ceb4baa17a322a53a191f /framework/qml
parentc3dea5138a463ccd77751e9f083070beeeca54e1 (diff)
downloadkube-36666d3fdb18fe7b1b453ec8e136f77304424d18.tar.gz
kube-36666d3fdb18fe7b1b453ec8e136f77304424d18.zip
Work with qt 5.7 again.
The popup template results in crashes with qt 5.7, so we just import the control as workaround.
Diffstat (limited to 'framework/qml')
-rw-r--r--framework/qml/Button.qml4
-rw-r--r--framework/qml/Popup.qml5
-rw-r--r--framework/qml/PositiveButton.qml4
3 files changed, 7 insertions, 6 deletions
diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml
index 44e36e34..4f3dd776 100644
--- a/framework/qml/Button.qml
+++ b/framework/qml/Button.qml
@@ -16,8 +16,8 @@
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */ 17 */
18 18
19import QtQuick 2.8 19import QtQuick 2.7
20import QtQuick.Templates 2.1 as T 20import QtQuick.Templates 2.0 as T
21import org.kube.framework 1.0 21import org.kube.framework 1.0
22 22
23T.Button { 23T.Button {
diff --git a/framework/qml/Popup.qml b/framework/qml/Popup.qml
index 6a74fd12..084913e7 100644
--- a/framework/qml/Popup.qml
+++ b/framework/qml/Popup.qml
@@ -16,8 +16,9 @@
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */ 17 */
18 18
19import QtQuick 2.8 19import QtQuick 2.7
20import QtQuick.Templates 2.1 as T 20//FIXME This should really be QtQuick.Templates, but that is crashing with qt 5.7, so we'll have to wait for a bit.
21import QtQuick.Controls 2.0 as T
21import org.kube.framework 1.0 22import org.kube.framework 1.0
22 23
23T.Popup { 24T.Popup {
diff --git a/framework/qml/PositiveButton.qml b/framework/qml/PositiveButton.qml
index 8265a71a..534d48cd 100644
--- a/framework/qml/PositiveButton.qml
+++ b/framework/qml/PositiveButton.qml
@@ -16,8 +16,8 @@
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */ 17 */
18 18
19import QtQuick 2.8 19import QtQuick 2.7
20import QtQuick.Templates 2.1 as T 20import QtQuick.Templates 2.0 as T
21import org.kube.framework 1.0 21import org.kube.framework 1.0
22 22
23T.Button { 23T.Button {