plasma-applet-eventcalendar
plasma-applet-eventcalendar copied to clipboard
Implicitly defined onFoo properties in Connections are deprecated.
file:///usr/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaEventItem.qml:26:2: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
This applet spams this in the logs.
https://github.com/Zren/plasma-applet-eventcalendar/blob/master/package/contents/ui/AgendaEventItem.qml#L26
same, I installed in the AUR.
but it happens in fedora plasma widget store version as well
I need to check if Qt 5.12 is still used in any of the common distros atm.
https://zren.github.io/2020/06/19/qml-connections-onfoo-warnings-will-get-logging-category-in-qt-5151
So why can’t we just implement the new
function onFoo() {}
format in Connections? Well it is not supported in Qt 5.12. Distros using Qt 5.12 are (as of 2020):
- https://repology.org/project/qt/versions
- Ubuntu 20.04
- openSUSE Leap 15.2
- Debian Unstable + Testing
- Debian Stable (Qt 5.11)
Hmmm, looks like we're good.
- ~~Ubuntu 20.04 LTS: Qt 5.12.8~~
- Ubuntu 22.04 LTS: Qt 5.15.3
- Ubuntu 22.10: Qt 5.15.6
- Ubuntu 23.04: Qt 5.15.8
- ~~openSUSE Leap 15.1 (2019-05): Qt 5.9.7~~
- ~~openSUSE Leap 15.2 (2020-07): Qt 5.12.7~~
- ~~openSUSE Leap 15.3 (2021-06): Qt 5.12.7~~
- openSUSE Leap 15.4 (2022-06): Qt 5.15.2
- openSUSE Leap 15.5 (2023-07): Qt 5.15.8
- ~~Debian 10 (2019-07): Qt 5.11.3~~
- Debian 11 (2021-08): Qt 5.15.2
- Debian 12 (2023-06): Qt 5.15.8
- Debian 13 testing/unstable: Qt 5.15.10