[Buster] [Kirigami2] [Development] Errors after upgrading from 5.42.0-3 to 5.44.0-2
Hi, I'm developing an application using Kirigami 2 and after yesterday's
upgrades in Buster I see no content in application window. From logs it
looks like the problem is with the Units module.
--- Example code ---
import org.kde.kirigami 2.2 as Kirigami
Kirigami.AbstractApplicationWindow {
}
--- Output ---
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:292:
TypeError: Cannot read property 'gridUnit' of undefined
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:248:
TypeError: Cannot read property 'iconSizes' of undefined
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:168:
TypeError: Cannot read property 'gridUnit' of undefined
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:291:
TypeError: Cannot read property 'gridUnit' of undefined
QQmlComponent: Component is not ready
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:168:
TypeError: Cannot read property 'gridUnit' of undefined
The 'gridUnit' property is in Units module. For testing, when I try to
create a qml component from Kirigami.Units with this code:
import QtQuick 2.4
import org.kde.kirigami 2.2 as Kirigami
Item {
Component {
Kirigami.Units {
}
}
}
The output is:
QQmlApplicationEngine failed to load component
qrc:/main.qml:8 Type Kirigami.Units unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop/Units.qml:101
QtQuickControlsPrivate.StyleItem is not a type
Unfortunately, here ends my ability to debug it:(
Reply to: