Multimedia: Compile on Windows.
MSVC is more strict about #include <> and #include "". Reviewed-by: Ling Hu <ling.hu@nokia.com> Change-Id: I8973d7b2717d892407ad93785f92a64b05bdb6b5 Reviewed-on: http://codereview.qt-project.org/6134 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
48d95f0baa
commit
930d99948f
@@ -39,14 +39,14 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
#include <private/qmediaobject_p.h>
|
||||
#include "qcameraviewfinder.h"
|
||||
#include "qvideowidget_p.h"
|
||||
|
||||
#include <qcamera.h>
|
||||
#include <qcameraviewfinder.h>
|
||||
#include <qvideowidget_p.h>
|
||||
#include <qvideodevicecontrol.h>
|
||||
#include <private/qmediaobject_p.h>
|
||||
|
||||
#include <QtCore/QDebug>
|
||||
|
||||
QT_USE_NAMESPACE
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ QT_MODULE(Multimedia)
|
||||
class QCamera;
|
||||
|
||||
class QCameraViewfinderPrivate;
|
||||
class Q_MULTIMEDIA_EXPORT QCameraViewfinder : public QVideoWidget
|
||||
class Q_MULTIMEDIAWIDGETS_EXPORT QCameraViewfinder : public QVideoWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -40,17 +40,16 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "qgraphicsvideoitem.h"
|
||||
#include "qpaintervideosurface_p.h"
|
||||
|
||||
#include <qmediaobject.h>
|
||||
#include <qmediaservice.h>
|
||||
#include <qpaintervideosurface_p.h>
|
||||
#include <qvideorenderercontrol.h>
|
||||
#include <qvideosurfaceformat.h>
|
||||
|
||||
#include <QtCore/qcoreevent.h>
|
||||
#include <QtCore/qpointer.h>
|
||||
|
||||
#include <qvideosurfaceformat.h>
|
||||
|
||||
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_1_CL) && !defined(QT_OPENGL_ES_1)
|
||||
#include <QtOpenGL/qgl.h>
|
||||
#endif
|
||||
|
||||
@@ -59,7 +59,7 @@ QT_END_NAMESPACE
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QGraphicsVideoItemPrivate;
|
||||
class Q_MULTIMEDIA_EXPORT QGraphicsVideoItem : public QGraphicsObject, public QMediaBindableInterface
|
||||
class Q_MULTIMEDIAWIDGETS_EXPORT QGraphicsVideoItem : public QGraphicsObject, public QMediaBindableInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QMediaBindableInterface)
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <qpaintervideosurface_p.h>
|
||||
#include <qpaintervideosurface_mac_p.h>
|
||||
#include "qpaintervideosurface_p.h"
|
||||
#include "qpaintervideosurface_mac_p.h"
|
||||
|
||||
#include <qmath.h>
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ QT_BEGIN_HEADER
|
||||
# if defined(QT_DLL)
|
||||
# undef QT_DLL
|
||||
# endif
|
||||
# if defined(QT_BUILD_MULTIMEDIA_LIB)
|
||||
# if defined(QT_BUILD_MULTIMEDIAWIDGETS_LIB)
|
||||
# define Q_MULTIMEDIAWIDGETS_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define Q_MULTIMEDIAWIDGETS_EXPORT Q_DECL_IMPORT
|
||||
|
||||
@@ -40,13 +40,13 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "qvideowidget_p.h"
|
||||
#include "qpaintervideosurface_p.h"
|
||||
|
||||
#include <qmediaobject.h>
|
||||
#include <qmediaservice.h>
|
||||
#include <qvideowindowcontrol.h>
|
||||
#include <qvideowidgetcontrol.h>
|
||||
|
||||
#include <qpaintervideosurface_p.h>
|
||||
#include <qvideorenderercontrol.h>
|
||||
#include <qvideosurfaceformat.h>
|
||||
#include <qpainter.h>
|
||||
|
||||
@@ -57,7 +57,7 @@ QT_MODULE(Multimedia)
|
||||
class QMediaObject;
|
||||
|
||||
class QVideoWidgetPrivate;
|
||||
class Q_MULTIMEDIA_EXPORT QVideoWidget : public QWidget, public QMediaBindableInterface
|
||||
class Q_MULTIMEDIAWIDGETS_EXPORT QVideoWidget : public QWidget, public QMediaBindableInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QMediaBindableInterface)
|
||||
|
||||
@@ -56,7 +56,7 @@ QT_MODULE(Multimedia)
|
||||
|
||||
class QVideoWidgetControlPrivate;
|
||||
|
||||
class Q_MULTIMEDIA_EXPORT QVideoWidgetControl : public QMediaControl
|
||||
class Q_MULTIMEDIAWIDGETS_EXPORT QVideoWidgetControl : public QMediaControl
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE
|
||||
QT_MODULE(Multimedia)
|
||||
|
||||
|
||||
class Q_MULTIMEDIA_EXPORT QVideoWindowControl : public QMediaControl
|
||||
class Q_MULTIMEDIAWIDGETS_EXPORT QVideoWindowControl : public QMediaControl
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user