How to serialize QSslConfiguration
-
I would like to serialize QSslConfiguration options through xml or json, but, QSslConfiguration does not use Q_OBJECT or Q_GADGET and it's hard to serialize QSslConfiguration options using QMetaObject(see qsslconfiguration.h).
Is there any wat to serialize QSslConfiguration options?
Thank you in advance. -
Hi and welcome to devnet,
Except writing your own serialization function, I don't see any option.
-
Thank you.
-
Note that you can use the QXmlStreamWriter/Reader for that task