summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video/qvideoframe.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-02-13 15:57:06 +0100
committerLars Knoll <lars.knoll@qt.io>2021-03-02 14:49:36 +0000
commit590655b86913187e7867836f6aca95f5674c72cd (patch)
tree61df64e5671a763041e49316af5b6f7e102443ea /src/multimedia/video/qvideoframe.h
parent2e4ff7abc97d1376b9ec25eee0e842724c3a7a15 (diff)
Remove manual metatype declarations and registrations
Those aren't needed in Qt 6 anymore. Change-Id: I1d19a0dd9c42cfa3fe6d88a56accbe3af2efdf47 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/video/qvideoframe.h')
-rw-r--r--src/multimedia/video/qvideoframe.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/multimedia/video/qvideoframe.h b/src/multimedia/video/qvideoframe.h
index 930bdd5bd..5c70c06f5 100644
--- a/src/multimedia/video/qvideoframe.h
+++ b/src/multimedia/video/qvideoframe.h
@@ -164,6 +164,8 @@ private:
QExplicitlySharedDataPointer<QVideoFramePrivate> d;
};
+Q_DECLARE_METATYPE(QVideoFrame);
+
#ifndef QT_NO_DEBUG_STREAM
Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, const QVideoFrame&);
Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QVideoFrame::PixelFormat);
@@ -171,8 +173,5 @@ Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QVideoFrame::PixelFormat);
QT_END_NAMESPACE
-Q_DECLARE_METATYPE(QVideoFrame)
-Q_DECLARE_METATYPE(QVideoFrame::PixelFormat)
-
#endif