Issues updating SDDM theme since KDE 6 update
-
I recently updated to KDE 6 via Nobara/Fedora. The update has broken all my SDDM theme's. From what I can tell it seems this update was big, it seems to have changed how these files are edited and what modules they require.
I attempted to take one of the theme's (Wargames https://store.kde.org/s/KDE Store/p/2072906).
I started by opening the project main.qml and adjusted the modules it was looking for as my original error was 'QtQuickControls version 1.4 is not installed'. With the changes the error changed to Main.qml:224:9 TextFeild is not a type. This appears to be a QtQuickConrols.Style issue as its looking for a older module.
I tied to add import QtQuick.Controls.Universal as this seems to be the new style module and this seems to have actually solved the Qt.Quick.Controls.Styles issue but now I am left with Main.qml:469:29 Cannot assign to non exsistant property"index" This is in reference to
//ComboBox
Column {
id : entryColumn10
anchors.left : parent.left
topPadding : comboboxtoppadding
leftPadding : comboboxleftpaddingComboBox { id : session color : comboboxcolor borderColor : comboboxbordercolor hoverColor : comboboxhovercolor focusColor : comboboxfocuscolor textColor : doscolor menuColor : comboboxmenucolor arrowColor: comboboxarrowcolor width : comboboxwidth height : comboboxheight visible : comboboxvisible font.pointSize : dosfontsize font.italic : false font.family : loginfont.name arrowIcon : comboboximage model : sessionModel This line-> index : sessionModel.lastIndex KeyNavigation.backtab : shutdownButton KeyNavigation.tab : loginButtonAt this point I am now officially out of my depth here haha! Is there some kind soul who can assist as even the original Nobara theme is broken, the colours show as only WHITE but the SDDM still loads.
-
I recently updated to KDE 6 via Nobara/Fedora. The update has broken all my SDDM theme's. From what I can tell it seems this update was big, it seems to have changed how these files are edited and what modules they require.
I attempted to take one of the theme's (Wargames https://store.kde.org/s/KDE Store/p/2072906).
I started by opening the project main.qml and adjusted the modules it was looking for as my original error was 'QtQuickControls version 1.4 is not installed'. With the changes the error changed to Main.qml:224:9 TextFeild is not a type. This appears to be a QtQuickConrols.Style issue as its looking for a older module.
I tied to add import QtQuick.Controls.Universal as this seems to be the new style module and this seems to have actually solved the Qt.Quick.Controls.Styles issue but now I am left with Main.qml:469:29 Cannot assign to non exsistant property"index" This is in reference to
//ComboBox
Column {
id : entryColumn10
anchors.left : parent.left
topPadding : comboboxtoppadding
leftPadding : comboboxleftpaddingComboBox { id : session color : comboboxcolor borderColor : comboboxbordercolor hoverColor : comboboxhovercolor focusColor : comboboxfocuscolor textColor : doscolor menuColor : comboboxmenucolor arrowColor: comboboxarrowcolor width : comboboxwidth height : comboboxheight visible : comboboxvisible font.pointSize : dosfontsize font.italic : false font.family : loginfont.name arrowIcon : comboboximage model : sessionModel This line-> index : sessionModel.lastIndex KeyNavigation.backtab : shutdownButton KeyNavigation.tab : loginButtonAt this point I am now officially out of my depth here haha! Is there some kind soul who can assist as even the original Nobara theme is broken, the colours show as only WHITE but the SDDM still loads.
@Talzanar UPDATE
I added the following import to the theme -
import QtQuick 2.15 import QtQuick.Layouts 1.15 import QtQuick.Controls 2.15 as QQC2 import QtQuick.Controls.Universal import SddmComponents 2.0 import Qt5Compat.GraphicalEffectsThis actually allows the SDDM to pretend to boot however here is the output of testing it.
Socket error: "QLocalSocket::connectToServer: Invalid name" Loading file:///usr/share/sddm/themes/WarGames/Main.qml... file:///usr/lib64/qt6/qml/SddmComponents/ComboBox.qml:107:9: QML QQuickImage: Cannot open: file:///usr/lib64/qt6/qml/SddmComponents/Arrow.svg file:///usr/share/sddm/themes/WarGames/Main.qml:406:21: QML QQuickImage: Cannot open: file:///usr/share/sddm/themes/WarGames/None.svg file:///usr/share/sddm/themes/WarGames/Main.qml:355:21: QML QQuickImage: Cannot open: file:///usr/share/sddm/themes/WarGames/None.svg file:///usr/lib64/qt6/qml/SddmComponents/Background.qml:35:5: QML QQuickImage: Cannot open: file:///usr/lib64/qt6/qml/SddmComponents/Background.png file:///usr/lib64/qt6/qml/SddmComponents/Background.qml:35:5: QML QQuickImage: Cannot open: file:///usr/lib64/qt6/qml/SddmComponents/AmigaOSBackground.png file:///usr/share/sddm/themes/WarGames/Main.qml:155:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/share/sddm/themes/WarGames/Main.qml:283: ReferenceError: passwordtextboximage is not defined file:///usr/share/sddm/themes/WarGames/Main.qml:307: ReferenceError: loginbuttonup is not defined Loading file:///usr/share/sddm/themes/WarGames/Main.qml... file:///usr/lib64/qt6/qml/SddmComponents/ComboBox.qml:107:9: QML QQuickImage: Cannot open: file:///usr/lib64/qt6/qml/SddmComponents/Arrow.svg file:///usr/share/sddm/themes/WarGames/Main.qml:406:21: QML QQuickImage: Cannot open: file:///usr/share/sddm/themes/WarGames/None.svg file:///usr/share/sddm/themes/WarGames/Main.qml:355:21: QML QQuickImage: Cannot open: file:///usr/share/sddm/themes/WarGames/None.svg file:///usr/lib64/qt6/qml/SddmComponents/Background.qml:35:5: QML QQuickImage: Cannot open: file:///usr/lib64/qt6/qml/SddmComponents/Background.png file:///usr/lib64/qt6/qml/SddmComponents/Background.qml:35:5: QML QQuickImage: Cannot open: file:///usr/lib64/qt6/qml/SddmComponents/AmigaOSBackground.png file:///usr/share/sddm/themes/WarGames/Main.qml:155:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/share/sddm/themes/WarGames/Main.qml:283: ReferenceError: passwordtextboximage is not defined file:///usr/share/sddm/themes/WarGames/Main.qml:307: ReferenceError: loginbuttonup is not defined qt.qml.context: file:///usr/share/sddm/themes/WarGames/Main.qml:288:21 Parameter "event" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. qt.qml.context: file:///usr/share/sddm/themes/WarGames/Main.qml:288:21 Parameter "event" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead. -
Hi and welcome to devnet,
That's something you should check with the KDE folks.
As for the update, it was likely the mega update that brought the switch from KDE to Qt 6.
-
Hi and welcome to devnet,
That's something you should check with the KDE folks.
As for the update, it was likely the mega update that brought the switch from KDE to Qt 6.
-
You should check with the theme author, they might want to update it and give you a hand with that task.