Bug 469579 - kjobwidgets fails to compile against Qt 6.5
Summary: kjobwidgets fails to compile against Qt 6.5
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-kjobwidgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-10 11:58 UTC by bluescreenavenger
Modified: 2023-05-10 12:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bluescreenavenger 2023-05-10 11:58:08 UTC
It seems that kjobwidgets fails to compile against Qt 6.5. It compiles against Qt 6.4, but it seems that something in Qt changed, and it seems to be an autogenerated header...

[ 78%] Generating moc_jobviewiface.cpp
[ 79%] Generating moc_jobviewv3iface.cpp
/srcbuild/kf6-kjobwidgets/build/src/jobviewv3iface.h:39:1: error: Not a signal or slot declaration
[ 80%] Generating moc_jobviewserverv2interface.cpp
/srcbuild/kf6-kjobwidgets/build/src/jobviewiface.h:39:1: error: Not a signal or slot declaration
make[2]: *** [src/CMakeFiles/KF6JobWidgets.dir/build.make:110: src/moc_jobviewv3iface.cpp] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/KF6JobWidgets.dir/build.make:86: src/moc_jobviewiface.cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:3203: src/CMakeFiles/KF6JobWidgets.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

layershell a dependency of Plasma seems to need Qt 6.5. 

...or is this an issue with CMake v3.22.0?
Comment 1 Nicolas Fella 2023-05-10 12:09:36 UTC
This is https://bugreports.qt.io/browse/QTBUG-111330
Comment 2 bluescreenavenger 2023-05-10 12:44:20 UTC
Thanks!