On Monday, 13 March 2023 08:46:03 PDT Fabian Kosmale via Development wrote:
> Hi,
> 
> I can look into fixing this from the moc side. Is there any smaller,
> self-contained reproducer than KWallet?

Yes. I don't know whether the -a or -p option to qdbusxml2cpp is the one 
generating the offending code, but it's either

qdbusxml2cpp -N -p - foo.xml
or
qdbusxml2cpp -N -a - foo.xml

One generates:
public Q_SLOTS: // METHODS
    inline void Q_NOREPLY Method()
    {
        QList<QVariant> argumentList;
        callWithArgumentList(QDBus::NoBlock, QStringLiteral("Method"), 
argumentList);
    }

the other generates
public Q_SLOTS: // METHODS
    void Q_NOREPLY Method();

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering

Attachment: foo.xml
Description: XML document

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to