Fix compilation without QtWidgets and QtOpenGL on Mac
Change-Id: I3cff7e41d27955e37bc8207e4820fdc21ce75f7b Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user