https://bugs.kde.org/show_bug.cgi?id=512964
Bug ID: 512964
Summary: Media Library template fails to launch when named
anything but LibraryTemplate
Classification: Developer tools
Product: kapptemplate
Version First 0.1.251190
Reported In:
Platform: Bazzite
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
The Multimedia Manager template does not launch unless named LibraryTemplate
STEPS TO REPRODUCE
1. Make a template using "Multimedia Manager with Kirigami (Qt6)"
2. Name the project anything other than LibraryTemplate
3. Comment out line 59 of the top-level CMakeLists.txt (to prevent an unrelated
appstreamcli build failure)
4. Build the app using flatpak-builder --install --force-clean --user app
.flatpak-manifest.json
OBSERVED RESULT
The template fails to launch:
QQmlApplicationEngine failed to load component
qrc:/qt/qml/org/kde/kgamelauncher/qml/Main.qml:27:18:
LibraryTemplateApplication is not a type
EXPECTED RESULT
The app launching
SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Bazzite 43
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
ADDITIONAL INFORMATION
The cause of the error is that line 27 of Main.qml contains a line that does
not get updated. This results in it looking for LibraryTemplateApplication
instead of {Actual app name}Application, failing to load as a result.
--
You are receiving this mail because:
You are watching all bug changes.