Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.1, 6.6
-
None
-
aea92807b (6.5.0), 50d4e338c (6.5.1), 44b5ad01f (dev), ad1465d62 (6.5), 439be6ac2 (6.5.2), 838f66be5 (6.6)
Description
In KWallet we use qt_add_dbus_interface to generated code from a DBus XML file. The file contains a method declaration like this:
<method name="pamOpen"> <arg name="wallet" type="s" direction="in"/> <arg name="passwordHash" type="ay" direction="in"/> <arg name="sessionTimeout" type="i" direction="in"/> <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/> </method>
This results in the following generated code:
Q_NOREPLY inline void pamOpen(const QString &wallet, const QByteArray &passwordHash, int sessionTimeout){ ... }
When compiling this results in
/home/nico/kde6/build/kwallet/src/api/KWallet/kwallet_interface.h:210:1: error: Not a signal or slot declaration
where line 210 is the aforementioned function definition.
This is with Qt from dev branch (qtbase commit 360f69b74b5e28ea1cfb0ed1ead624d0323dfe09). The same code worked fine with an earlier version of dev/6.5
Attachments
Issue Links
- resulted from
-
QTBUG-110979 qdbusxml2cpp6 generates broken code for org.freedesktop.DBus.Deprecated
- Closed
- resulted in
-
QTBUG-114811 Update to Qt 6.6.0-beta1 breaks building kjobwidgets
- Closed