Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Serializing std::variant into QDBusArgument
Lurkki last edited by
I want to use std::variant in a QDBus method call, is it possible to serialize it as in this example https://doc.qt.io/qt-5/qdbusargument.html#beginStructure ?
Warning I am no expert of that module.
That said, I would rather go with QDBusVariant and make your std::variant available to Qt's QVariant class.