do not runtime require Qt 5.5 for no good reason

Layouts 1.2 appeared in Qt 5.5 [1] and introduced new fooMargin properties
[2]. We do however not use margins here, so we do not actually need
Layouts 1.2. Drop back down to Layouts 1.1 to be more compatible with
mainstream distros.

[1] http://doc.qt.io/qt-5.4/qtquick-layouts-qmlmodule.html
[2] http://doc.qt.io/qt-5.5/qml-qtquick-layouts-layout.html#bottomMargin-attached-prop

REVIEW: 125388
This commit is contained in:
Harald Sitter 2015-09-25 11:04:24 +02:00
parent f1cb1e42a2
commit 66743cf11f

View file

@ -19,7 +19,7 @@
*/
import QtQuick 2.1
import QtQuick.Layouts 1.2
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.kdeconnect 1.0