Serializing std::variant into QDBusArgument
Solved
General and Desktop
-
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 ?
-
Hi,
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.