[opensuse-kde] journal full of these types of messages
Hi I get a lot of these "deprecated" messages related to QML (see below) in the journal, some suggest upgrading to QtQml 2.15 but i can't even find any installation of QtQml anywhere to even check what version is installed. Are they pointless journal entries from a users point of view? regards Ian 1. file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int 2. file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/BusyIndicatorStyle.qml:39:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } 3. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. -- opensuse:tumbleweed:20200615 Qt: 5.15.0 KDE Frameworks: 5.70.0 - KDE Plasma: 5.19.0 - kwin 5.19.0 kmail2 5.14.2 (20.04.2) - akonadiserver 5.14.2 (20.04.2) - Kernel: 5.7.1-1-default - xf86-video-nouveau: 1.0.16 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Am Mittwoch, 17. Juni 2020, 12:04:30 schrieb Ianseeks:
I get a lot of these "deprecated" messages related to QML (see below) in the journal, some suggest upgrading to QtQml 2.15 but i can't even find any installation of QtQml anywhere to even check what version is installed. QtQml 2.15 is part of libQtQuick 5.15, which you should already have if your system is up-to-date...
Are they pointless journal entries from a users point of view? Yes, they mainly inform developers of possible (current or future) problems in
3. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. This warning talks about changing the code to "import QtQml 2.15", not that
Actually, (at least some of) these warnings may even be new in Qt 5.15... the code. E.g.: the user should upgrade to that version. But that's not possible for Plasma 5.19, as this would mean that Qt 5.15 is the minimum version, and Plasma 5.19 is supposed to support 5.14 as well. "deprecated" just means that it (should) still works for now, but may break/be removed in future versions. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Wednesday, 17 June 2020 12:33:20 BST Wolfgang Bauer wrote:
Am Mittwoch, 17. Juni 2020, 12:04:30 schrieb Ianseeks:
I get a lot of these "deprecated" messages related to QML (see below) in the journal, some suggest upgrading to QtQml 2.15 but i can't even find any installation of QtQml anywhere to even check what version is installed. QtQml 2.15 is part of libQtQuick 5.15, which you should already have if your system is up-to-date...
Thanks, after a quick check now i know what to check for, I am up-to-date as I do have libQtQuick 5.15.0-1.1.
Actually, (at least some of) these warnings may even be new in Qt 5.15...
Are they pointless journal entries from a users point of view? Yes, they mainly inform developers of possible (current or future) problems in the code.
3. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. This warning talks about changing the code to "import QtQml 2.15", not that
E.g.: the user should upgrade to that version.
But that's not possible for Plasma 5.19, as this would mean that Qt 5.15 is the minimum version, and Plasma 5.19 is supposed to support 5.14 as well.
"deprecated" just means that it (should) still works for now, but may break/be removed in future versions.
Kind Regards, Wolfgang
Thanks again. regards Ian -- opensuse:tumbleweed:20200615 Qt: 5.15.0 KDE Frameworks: 5.70.0 - KDE Plasma: 5.19.0 - kwin 5.19.0 kmail2 5.14.2 (20.04.2) - akonadiserver 5.14.2 (20.04.2) - Kernel: 5.7.1-1-default - xf86-video-nouveau: 1.0.16 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (2)
-
Ianseeks
-
Wolfgang Bauer