Fix compilation without QtWidgets and QtOpenGL on Mac

Change-Id: I3cff7e41d27955e37bc8207e4820fdc21ce75f7b
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Kent Hansen
2012-06-06 22:21:39 +02:00
committed by Qt by Nokia
parent d91d3b9b18
commit 2d8f81b857
4 changed files with 13 additions and 6 deletions

View File

@@ -46,7 +46,9 @@
#include <QtCore/qsize.h>
#include <qvideowindowcontrol.h>
#ifndef QT_NO_WIDGETS
#include <qvideowidgetcontrol.h>
#endif
#include <qvideorenderercontrol.h>
#include <qmediaplayer.h>
@@ -95,6 +97,7 @@ protected:
{}
};
#ifndef QT_NO_WIDGETS
class QT7VideoWidgetControl : public QVideoWidgetControl, public QT7VideoOutput
{
Q_OBJECT
@@ -107,6 +110,7 @@ protected:
:QVideoWidgetControl(parent)
{}
};
#endif
QT_END_NAMESPACE