On Wednesday, January 02, 2013 16:43:27 Jan Kundrát wrote: > Hi, > I'm getting the following error message from Qt5's port of Trojita:
> There are no calls to Q_DECLARE_METATYPE mentioning
> QSslError or QList<QSslError> in my code.
But there is such a call in qsslsocket.h.
> My code contains calls to:
>
> qRegisterMetaType<QList<QSslError> >("QList<QSslError>");
The fix is probably to include qsslsocket.h in the translation unit where you
have that line.
Of course it's a bug and an odd mistake that
Q_DECLARE_METATYPE(QList<QSslError>) is in qsslsocket.h instead of
qsslerror.h.
Also you should just use
qRegisterMetaType<QList<QSslError> >()
without the string.
Thanks,
--
Stephen Kelly <[email protected]> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
