Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.6.0 Beta1
-
None
-
-
44b5ad01f0da55a351e0855e1173acfbef77221d (dev), 838f66be51103b8567ee22b71bd8e6102297b681 (6.6)
Description
After updating Qt to 6.6.0-beta1, kjobwidgets (the Qt6 version from git master branch) no longer builds.
[1/28] cd /home/bero/repos/packaging-tools/kf6-kjobwidgets/BUILD/kjobwidgets-master/build/src && /usr/lib64/qt6/./libexec/moc @/home/bero/repos/packaging-tools/kf6-kjobwidgets/BUILD/kjobwidgets-master/build/src/moc_jobviewiface.cpp_parameters
FAILED: src/moc_jobviewiface.cpp /home/bero/repos/packaging-tools/kf6-kjobwidgets/BUILD/kjobwidgets-master/build/src/moc_jobviewiface.cpp
cd /home/bero/repos/packaging-tools/kf6-kjobwidgets/BUILD/kjobwidgets-master/build/src && /usr/lib64/qt6/./libexec/moc @/home/bero/repos/packaging-tools/kf6-kjobwidgets/BUILD/kjobwidgets-master/build/src/moc_jobviewiface.cpp_parameters
/home/bero/repos/packaging-tools/kf6-kjobwidgets/BUILD/kjobwidgets-master/build/src/jobviewiface.h:39:1: error: Not a signal or slot declaration
ninja: build stopped: subcommand failed.
jobviewiface.h is generated by qdbusxml2cpp.
The problematic line 39 is
Q_NOREPLY inline void clearDescriptionField(uint number)
The problem seems to be the use of Q_NOREPLY. Manually removing that from this line (and various other lines like it) fixes the build.
Attaching the XML file moc_jobviewiface.cpp is generated from.
Attachments
Issue Links
- resulted from
-
QTBUG-111330 error: Not a signal or slot declaration in code generated by qt_add_dbus_interface
- Closed