https://bugs.kde.org/show_bug.cgi?id=494478

            Bug ID: 494478
           Summary: Kirigami application template (Qt6) not compile
    Classification: Frameworks and Libraries
           Product: frameworks-kirigami
           Version: 6.6.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: seel...@gmail.com
                CC: notm...@gmail.com
  Target Milestone: Not decided

SUMMARY
Kirigami application template (Qt6) don't compile due to old file name syntax.  
In main.cpp it is:
engine.loadFromModule("org.kde.%{APPNAMELC}", u"Main.qml");
but with current Qt 6 requirements is has to be just:
engine.loadFromModule("org.kde.%{APPNAMELC}", u"Main");

Also in contents/ui/Main.qml there is wrong path to About.qml.
It is:
onTriggered: root.pageStack.pushDialogLayer("qrc:About.qml")
But it has to be:
onTriggered:
root.pageStack.pushDialogLayer("qrc:qrc:/qt/qml/org/kde/%{APPNAMELC}/contents/ui/About.qml")

This template is available in Kdevelop.

Operating System: Arch Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to