diff options
Diffstat (limited to 'src/corelib/serialization/qcborcommon.h')
-rw-r--r-- | src/corelib/serialization/qcborcommon.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/serialization/qcborcommon.h b/src/corelib/serialization/qcborcommon.h index fe77e65a67..95e40ccedc 100644 --- a/src/corelib/serialization/qcborcommon.h +++ b/src/corelib/serialization/qcborcommon.h @@ -42,6 +42,7 @@ #include <QtCore/qobjectdefs.h> #include <QtCore/qmetatype.h> +#include <QtCore/qdebug.h> #if 0 #pragma qt_class(QtCborCommon) @@ -119,6 +120,12 @@ public: QString toString() const; }; +#if !defined(QT_NO_DEBUG_STREAM) +Q_CORE_EXPORT QDebug operator<<(QDebug, QCborSimpleType st); +Q_CORE_EXPORT QDebug operator<<(QDebug, QCborKnownTags tg); +Q_CORE_EXPORT QDebug operator<<(QDebug, QCborTag tg); +#endif + QT_END_NAMESPACE Q_DECLARE_METATYPE(QCborSimpleType) |