Bug 439727 - Plasma-workspace qml cache generation fails
Summary: Plasma-workspace qml cache generation fails
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.22.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-10 16:18 UTC by flinux
Modified: 2021-07-22 16:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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