You are not logged in.

#1 2024-07-27 01:28:18

exup
Member
Registered: 2017-07-13
Posts: 32

[SOLVED] SDDM Breeze screen displays error since move to KDE Plasma 6

Im using KDE Plasma 6.1.2 and Wayland. I also use the SDDM Breeze login screen. Which was slightly customised to show my avatar and new plasma wallpaper on login.   
Since the shift to Version 6 the login screen has defaulted back to default and throws three errors. I can still login ok.

"The current theme cannot be loaded due to the following errors, please select another theme"
"/usr/share/sddm/themes/breeze/Main.qml: Library import requires a version"
"/usr/share/sddm/themes/breeze/Main.qml:13:52: Library import requires a version"
"/usr/share/sddm/themes/breeze/Main.qml: Library import requires a version"

I went to unistall the breeze applicaion but it has quite a few dependencies.
Reinstall does not change anything.
I can switch to another theme like Maldives or maya and they work correctly.

Here is excerpt of the main.qml file with the imports

import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as QQC2
import Qt5Compat.GraphicalEffects

import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.private.keyboardindicator as KeyboardIndicator
import org.kde.kirigami 2.20 as Kirigami

import org.kde.breeze.components

Last edited by exup (2024-08-11 21:39:15)

Offline

#2 2024-07-27 06:42:38

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,147

Re: [SOLVED] SDDM Breeze screen displays error since move to KDE Plasma 6

You are trying to load a Qt6 theme using the Qt5 greeter. You need to explicitly specify that the theme needs the Qt6 greeter.

Offline

#3 2024-07-27 06:45:54

exup
Member
Registered: 2017-07-13
Posts: 32

Re: [SOLVED] SDDM Breeze screen displays error since move to KDE Plasma 6

OK user error, for some reason I cant remember I installed the sddm-git package from AUR (back in 2022) and not updated it. I had forgotten I had done this and assumed when running pacman updates sddm was being updated. So it was missing the QT6 components.
Removed the AUR package then installed SDDM via pacman. All works.

Last edited by exup (2024-08-11 21:40:35)

Offline

Board footer

Powered by FluxBB