Bug 439727

Summary: Plasma-workspace qml cache generation fails
Product: [Plasma] plasmashell Reporter: flinux
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.23
Sentry Crash Report:

Description flinux 2021-07-10 16:18:44 UTC
At Solus we generate .qmlc files on build time but it fails on plasma-workspace with the error

qmlcachegen -o ./usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowdecoration/WindowDecoration.qmlc ./usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowdecoration/WindowDecoration.qml
Error compiling qml file: ./usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowdecoration/WindowDecoration.qml:1:1: error: Expected token `numeric literal'



looking at the source file, it's empty https://invent.kde.org/plasma/plasma-workspace/-/blob/master/lookandfeel/contents/windowdecoration/WindowDecoration.qml


I hardly believe this should be the case
Comment 1 David Edmundson 2021-07-19 22:49:13 UTC
Out of curiosity does building qmlc files actually help with anything tangible? 
How do you ship them?
Comment 2 David Edmundson 2021-07-19 22:49:44 UTC
Git commit d9619197e90d2fd5eada2b6fe1cef9a2938a4d5a by David Edmundson.
Committed on 19/07/2021 at 22:49.
Pushed by davidedmundson into branch 'master'.

Drop unused file

We know it's unused as it's empty.

D  +0    -0    lookandfeel/contents/windowdecoration/WindowDecoration.qml

https://invent.kde.org/plasma/plasma-workspace/commit/d9619197e90d2fd5eada2b6fe1cef9a2938a4d5a