Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.6
-
None
-
aea92807b (6.5.0)
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