diff options
author | Artem Dyomin <artem.dyomin@qt.io> | 2024-01-11 10:51:59 +0100 |
---|---|---|
committer | Artem Dyomin <artem.dyomin@qt.io> | 2024-01-15 09:43:13 +0000 |
commit | 0bae7e4bf357325c8e64bbf269175f6d39a6dc13 (patch) | |
tree | 9cad410b2319d576678b2fb766873d94374d149b /src/multimedia/video | |
parent | 0c39a4f46af13c6609f0d73ceab8d3824af4bf35 (diff) |
Apply API review comments: fix headers
The API review:
codereview.qt-project.org/c/qt/qtmultimedia/+/528314
Include <QtCore/qmetaobject.h> cannot be removed as
the macros in the file use some QMetaObject functionality.
Pick-to: 6.7
Change-Id: Iecf7585e32d0da1128577448b233e3d052b25d47
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'src/multimedia/video')
-rw-r--r-- | src/multimedia/video/qvideo.h | 3 | ||||
-rw-r--r-- | src/multimedia/video/qvideoframe.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/multimedia/video/qvideo.h b/src/multimedia/video/qvideo.h index cae6ee01c..d672da1b1 100644 --- a/src/multimedia/video/qvideo.h +++ b/src/multimedia/video/qvideo.h @@ -4,8 +4,9 @@ #ifndef QVIDEO_H #define QVIDEO_H -#include <QtMultimedia/qtmultimediaglobal.h> +#include <QtMultimedia/qtmultimediaexports.h> #include <QtCore/qmetaobject.h> +#include <QtCore/qtconfigmacros.h> QT_BEGIN_NAMESPACE diff --git a/src/multimedia/video/qvideoframe.h b/src/multimedia/video/qvideoframe.h index 04e3ad790..a5838c6a0 100644 --- a/src/multimedia/video/qvideoframe.h +++ b/src/multimedia/video/qvideoframe.h @@ -5,8 +5,8 @@ #define QVIDEOFRAME_H #include <QtMultimedia/qtmultimediaglobal.h> -#include <QtMultimedia/qvideoframeformat.h> #include <QtMultimedia/qvideo.h> +#include <QtMultimedia/qvideoframeformat.h> #include <QtCore/qmetatype.h> #include <QtCore/qshareddata.h> |