Skip to content
  • 0 Votes
    2 Posts
    628 Views
    F

    You have to register the expected Response first!

    In my case it was like

    #include <QtDBus/QDBusMetaType> // ... typedef QMap<QString, QMap<QString, QVariant> > ConnectionDetails; Q_DECLARE_METATYPE(ConnectionDetails)

    and

    int main() { qDBusRegisterMetaType<ConnectionDetails>(); // ... }