Bug 474648

Summary: Port to KSvg
Product: [Applications] KClock Reporter: Justin Zobel <justin.zobel>
Component: GeneralAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: normal CC: hanyoung
Priority: NOR Keywords: qt6
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Justin Zobel 2023-09-18 07:28:40 UTC
The Time tab doesn't work at the moment on Qt6. A blank page is shown and the below is spit out into konsole:

kf.kirigami: QList(qrc:/qml/time/TimePage.qml:116:25: Type AnalogClock unavailable
                            AnalogClock {
                            ^, qrc:/qml/time/AnalogClock.qml:108:9: PlasmaCore.SvgItem is not a type
            PlasmaCore.SvgItem {
            ^)
kf.kirigami: QList(qrc:/qml/time/TimePage.qml:116:25: Type AnalogClock unavailable
                            AnalogClock {
                            ^, qrc:/qml/time/AnalogClock.qml:108:9: PlasmaCore.SvgItem is not a type
            PlasmaCore.SvgItem {
            ^)
qrc:/qml/main.qml:57: TypeError: Cannot read property 'header' of null
Comment 1 hanyoung 2023-09-18 17:18:19 UTC
Pushed to kf6 branch. But it's broken on my machine. Not sure it's because of my system is in KF5, KSvg can't find the svg.
Comment 2 Justin Zobel 2023-09-19 04:07:11 UTC
I think it might be an issue on your machine. I've just installed the latest and I now have the clock back on my "Time" tab.