Fix some private headers.

- Add missing "We mean it" comment
- Add missing '_p' suffix for QtMultimediaQuick_p headers

Task-number: QTBUG-49480
Change-Id: I1fd4f8b2fdffecebaebaedaf1b78e1da62c08156
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
Yoann Lopes
2015-11-24 15:51:59 +01:00
parent 9937c67dec
commit 8aa31a38cb
10 changed files with 65 additions and 20 deletions

View File

@@ -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 <qvideoframe.h>
#include <private/qsimd_p.h>

View File

@@ -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 <private/qdeclarativevideooutput_backend_p.h>
#include <private/qsgvideonode_yuv_p.h>
#include <private/qsgvideonode_rgb_p.h>
#include <private/qsgvideonode_texture_p.h>
#include <QtCore/qmutex.h>
#include <QtMultimedia/qabstractvideosurface.h>

View File

@@ -45,7 +45,7 @@
// We mean it.
//
#include "qdeclarativevideooutput_backend_p.h"
#include <private/qdeclarativevideooutput_backend_p.h>
QT_BEGIN_NAMESPACE

View File

@@ -30,7 +30,7 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include "qsgvideonode_rgb.h"
#include "qsgvideonode_rgb_p.h"
#include <QtQuick/qsgtexturematerial.h>
#include <QtQuick/qsgmaterial.h>
#include <QtCore/qmutex.h>

View File

@@ -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 <private/qsgvideonode_p.h>
#include <QtMultimedia/qvideosurfaceformat.h>

View File

@@ -30,7 +30,7 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include "qsgvideonode_texture.h"
#include "qsgvideonode_texture_p.h"
#include <QtQuick/qsgtexturematerial.h>
#include <QtQuick/qsgmaterial.h>
#include <QtCore/qmutex.h>

View File

@@ -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 <private/qsgvideonode_p.h>
#include <QtMultimedia/qvideosurfaceformat.h>

View File

@@ -30,7 +30,7 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include "qsgvideonode_yuv.h"
#include "qsgvideonode_yuv_p.h"
#include <QtCore/qmutex.h>
#include <QtQuick/qsgtexturematerial.h>
#include <QtQuick/qsgmaterial.h>

View File

@@ -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 <private/qsgvideonode_p.h>
#include <QtMultimedia/qvideosurfaceformat.h>

View File

@@ -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