diff --git a/src/multimedia/video/qvideoframeconversionhelper_p.h b/src/multimedia/video/qvideoframeconversionhelper_p.h index eead17a9..10e9d3ab 100644 --- a/src/multimedia/video/qvideoframeconversionhelper_p.h +++ b/src/multimedia/video/qvideoframeconversionhelper_p.h @@ -34,6 +34,17 @@ #ifndef QVIDEOFRAMECONVERSIONHELPER_P_H #define QVIDEOFRAMECONVERSIONHELPER_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include diff --git a/src/qtmultimediaquicktools/qdeclarativevideooutput_render_p.h b/src/qtmultimediaquicktools/qdeclarativevideooutput_render_p.h index d33bc0b1..e05adc3b 100644 --- a/src/qtmultimediaquicktools/qdeclarativevideooutput_render_p.h +++ b/src/qtmultimediaquicktools/qdeclarativevideooutput_render_p.h @@ -46,10 +46,10 @@ // We mean it. // -#include "qdeclarativevideooutput_backend_p.h" -#include "qsgvideonode_yuv.h" -#include "qsgvideonode_rgb.h" -#include "qsgvideonode_texture.h" +#include +#include +#include +#include #include #include diff --git a/src/qtmultimediaquicktools/qdeclarativevideooutput_window_p.h b/src/qtmultimediaquicktools/qdeclarativevideooutput_window_p.h index 68403852..a7c5ee81 100644 --- a/src/qtmultimediaquicktools/qdeclarativevideooutput_window_p.h +++ b/src/qtmultimediaquicktools/qdeclarativevideooutput_window_p.h @@ -45,7 +45,7 @@ // We mean it. // -#include "qdeclarativevideooutput_backend_p.h" +#include QT_BEGIN_NAMESPACE diff --git a/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp b/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp index 5093acb5..1ba8f98b 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp +++ b/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp @@ -30,7 +30,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#include "qsgvideonode_rgb.h" +#include "qsgvideonode_rgb_p.h" #include #include #include diff --git a/src/qtmultimediaquicktools/qsgvideonode_rgb.h b/src/qtmultimediaquicktools/qsgvideonode_rgb_p.h similarity index 91% rename from src/qtmultimediaquicktools/qsgvideonode_rgb.h rename to src/qtmultimediaquicktools/qsgvideonode_rgb_p.h index 77d11b6d..501df9cb 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_rgb.h +++ b/src/qtmultimediaquicktools/qsgvideonode_rgb_p.h @@ -34,6 +34,17 @@ #ifndef QSGVIDEONODE_RGB_H #define QSGVIDEONODE_RGB_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include diff --git a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp index 500c1c62..1170af79 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp +++ b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp @@ -30,7 +30,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#include "qsgvideonode_texture.h" +#include "qsgvideonode_texture_p.h" #include #include #include diff --git a/src/qtmultimediaquicktools/qsgvideonode_texture.h b/src/qtmultimediaquicktools/qsgvideonode_texture_p.h similarity index 91% rename from src/qtmultimediaquicktools/qsgvideonode_texture.h rename to src/qtmultimediaquicktools/qsgvideonode_texture_p.h index 0849c574..0304b2ef 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_texture.h +++ b/src/qtmultimediaquicktools/qsgvideonode_texture_p.h @@ -34,6 +34,17 @@ #ifndef QSGVIDEONODE_TEXTURE_H #define QSGVIDEONODE_TEXTURE_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include diff --git a/src/qtmultimediaquicktools/qsgvideonode_yuv.cpp b/src/qtmultimediaquicktools/qsgvideonode_yuv.cpp index af1e98cd..b2979f50 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_yuv.cpp +++ b/src/qtmultimediaquicktools/qsgvideonode_yuv.cpp @@ -30,7 +30,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#include "qsgvideonode_yuv.h" +#include "qsgvideonode_yuv_p.h" #include #include #include diff --git a/src/qtmultimediaquicktools/qsgvideonode_yuv.h b/src/qtmultimediaquicktools/qsgvideonode_yuv_p.h similarity index 91% rename from src/qtmultimediaquicktools/qsgvideonode_yuv.h rename to src/qtmultimediaquicktools/qsgvideonode_yuv_p.h index 776f0a5a..9c0a1f36 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_yuv.h +++ b/src/qtmultimediaquicktools/qsgvideonode_yuv_p.h @@ -34,6 +34,17 @@ #ifndef QSGVIDEONODE_YUV_H #define QSGVIDEONODE_YUV_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include #include diff --git a/src/qtmultimediaquicktools/qtmultimediaquicktools.pro b/src/qtmultimediaquicktools/qtmultimediaquicktools.pro index 61c5f7b2..b38f209e 100644 --- a/src/qtmultimediaquicktools/qtmultimediaquicktools.pro +++ b/src/qtmultimediaquicktools/qtmultimediaquicktools.pro @@ -9,12 +9,21 @@ DEFINES += QT_BUILD_QTMM_QUICK_LIB # Header files must go inside source directory of a module # to be installed by syncqt. INCLUDEPATH += ../multimedia/qtmultimediaquicktools_headers/ +VPATH += ../multimedia/qtmultimediaquicktools_headers/ PRIVATE_HEADERS += \ - ../multimedia/qtmultimediaquicktools_headers/qdeclarativevideooutput_p.h \ - ../multimedia/qtmultimediaquicktools_headers/qdeclarativevideooutput_backend_p.h \ - ../multimedia/qtmultimediaquicktools_headers/qsgvideonode_p.h \ - ../multimedia/qtmultimediaquicktools_headers/qtmultimediaquickdefs_p.h + qdeclarativevideooutput_p.h \ + qdeclarativevideooutput_backend_p.h \ + qsgvideonode_p.h \ + qtmultimediaquickdefs_p.h + +HEADERS += \ + $$PRIVATE_HEADERS \ + qdeclarativevideooutput_render_p.h \ + qdeclarativevideooutput_window_p.h \ + qsgvideonode_yuv_p.h \ + qsgvideonode_rgb_p.h \ + qsgvideonode_texture_p.h SOURCES += \ qsgvideonode_p.cpp \ @@ -25,14 +34,6 @@ SOURCES += \ qsgvideonode_rgb.cpp \ qsgvideonode_texture.cpp -HEADERS += \ - $$PRIVATE_HEADERS \ - qdeclarativevideooutput_render_p.h \ - qdeclarativevideooutput_window_p.h \ - qsgvideonode_yuv.h \ - qsgvideonode_rgb.h \ - qsgvideonode_texture.h - RESOURCES += \ qtmultimediaquicktools.qrc