Opened 5 months ago
Closed 5 months ago
#20616 closed defect (overcomebyevents)
Building kirigami in KF6 is currently broken with Qt-6.8.0
Reported by: | Douglas R. Reno | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.3 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
The issue seems to be due to a bug in Qt 6.8's qmlcachegen:
https://bugreports.qt.io/browse/QTBUG-129797
Note that the issue here mentions spectacle, but kirigami runs into the same issue. I have a build of KF6 running with the following sed factored in a case statement:
sed -i '/set(KF_VERSION/a set(_extra_options NO_CACHEGEN)' CMakeLists.txt
The sed is based on https://github.com/KDE/kirigami/commit/7dea849cc263ddb33986e1e93669459ddde6990e#diff-148715d6ea0c0ea0a346af3f6bd610d010d490eca35ac6a9b408748f7ca9e3f4L16, which was put into kirigami-6.6.0. I don't know if any similar issues will crop up though in other packages yet.
An alternative to the sed is fixing qmlcachegen using the following patch from Qt: https://codereview.qt-project.org/gitweb?p=qt/qtdeclarative.git;a=blobdiff;f=src/qmlcompiler/qqmljscodegenerator.cpp;h=9f609f39fb868af51632bac72afa74dcbbd39fa4;hp=e9c91ab6f293f9282e2f438ec2808c1088c241ef;hb=5afde2703ff1e60c30379de72567a9facb008d7b;hpb=4545e5c9737920dfcc35b563fc11561e3bdc3880
Change History (4)
comment:1 by , 5 months ago
comment:3 by , 5 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I'll check this when I update to KF6-6.8 this weekend. I suspect it will be 'overcomebyevents'. but that needs to be validated.
comment:4 by , 5 months ago
Resolution: | → overcomebyevents |
---|---|
Status: | assigned → closed |
I've just built kf6-6.8.0 with kirigami-6.8.0.tar.xz and it built without issues.
I'll push that later today, but I'll close this as overcomebyevents.
We are using kf6-6.5.0. Perhaps we should try the latest: https://download.kde.org/stable/frameworks/6.7/