Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Issues updating SDDM theme since KDE 6 update
Qt 6.11 is out! See what's new in the release blog

Issues updating SDDM theme since KDE 6 update

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 6.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Talzanar
    wrote on last edited by
    #1

    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 : comboboxleftpadding

                ComboBox {
                            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 : loginButton
    

    At 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.

    T 1 Reply Last reply
    0
    • T Talzanar

      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 : comboboxleftpadding

                  ComboBox {
                              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 : loginButton
      

      At 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.

      T Offline
      T Offline
      Talzanar
      wrote on last edited by
      #2

      @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.GraphicalEffects
      

      This 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.
      
      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        T 1 Reply Last reply
        0
        • SGaistS SGaist

          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.

          T Offline
          T Offline
          Talzanar
          wrote on last edited by
          #4

          @SGaist I have been researching this all day and yes the KDE 6 upgrade is huge, It now needs you to format in Javascript - something I have no experience in so my little goal of fixing my favourite SDDM theme has gone to hell haha.

          Thanks for the reply.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            You should check with the theme author, they might want to update it and give you a hand with that task.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved