Drop dependency on Qt Quick Controls 1
authorFlorian Schmaus <flo@geekplace.eu>
Thu, 5 Jan 2023 10:58:08 +0000 (11:58 +0100)
committerClaudio Cambra <claudio.cambra@gmail.com>
Fri, 6 Jan 2023 16:22:56 +0000 (17:22 +0100)
commit14cbd836abe4855cb927a1d87d8a71e30b1bb81e
tree8094d3277104fc7f339e88d982cb6b6d948bd0b8
parent034324d63f8b4f4bf76ce8005a17aa9f04c969bc
Drop dependency on Qt Quick Controls 1

Qt Quick Controls 1 where deprecated with Qt 5.11 [1]. Nextcloud still
depends on Quick Controls 1 by importing QtQuick.Dialogs. Removing
those imports will cause the QMl script to use the according API from
Quick Controls 2, which are, fortunately largely API-comptible.

This helps distribution to deprecate and remove Quick Controls 1 [2].

1: https://doc.qt.io/qt-6/qtquickcontrols-changes-qt6.html#migrating-from-qt-quick-controls-1
2: https://bugs.gentoo.org/889772

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
src/gui/BasicComboBox.qml
src/gui/PredefinedStatusButton.qml
src/gui/UserStatusSelector.qml
src/gui/UserStatusSelectorButton.qml