Since Qt5.7, there has been a new version of the QtQuick Controls: https://doc.qt.io/qt-5.11/qtquickcontrols2-differences.html
The version 2 should be faster and take less resources.
We are actually using the version 1.
All QtQuick 1 item don't have an equivalent in QtQuick 2 but we need to find on how to update to QtQuick 2.
Note that we can't commit this as long as we have Qt5.6 as minimal requirement.
All the changes to apply can be found in https://invent.kde.org/education/gcompris/-/commit/e01e7531546837e29ebb0439b11fa2376c05bac7:
[x] Button -> GCButton
[x] ExclusiveGroup -> ButtonGroup (in Categorisation/PlayPiano)
[x] Qt: 5.6.0 -> 5.7.0 in CMakeLists.txt
[x] Ship good plugin in src/core/CMakeLists.txt
[x] Slider: minimumValue/maximumValue ->from/to, scrollEnabled -> wheelEnabled
[x] ProgressBar: minimumValue/maximumValue ->from/to
[x] TextField: textColor -> color, remove style (Menu.qml)
Missing:
[x] StackView
[x] Calendar
WIP in : https://invent.kde.org/education/gcompris/-/tree/calendar_no_qtquick
todo list:
[] check slider display (balancebox editor)
[x] opacity of textfield in Menu.qml (https://invent.kde.org/education/gcompris/-/commit/50b0610ee245191de4d3eb2213f4ba43751b2616)
[x] pourcentage in solar system assessment mode
[] when starting activity from dataset dialog, grey screen instead of menu
[] in Menu check if multiple push works as expected (balancebox editor?)
[] balancebox no more moving after displaying a Dialog
[] todo ubuntu touch and co
For Calendar activity:
ship for
[] android
[] windows
[] mac
[x] linux
[] check if no need of the qml files in the package for QtQuick.Controls2?
[] disable activities if calendar shared library not existing?
[] better display the rectangle for days
[] navigation bar needs to always be displayed
[] fix navigation bar display in find_the_day activity
[] handle resizing
[] check if builds with Qt5.7 (at least remove required in MonthGridDelegate)