Camerabin backend: fixed compilation without X11
Disable video widget and overlay controls on systems without X11 Change-Id: I0163fa83018b35ba6f0f8221ad3c465506b52d00 Reviewed-on: http://codereview.qt-project.org/4850 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: derick hawcroft <derick.hawcroft@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
eedcc340f1
commit
aef6b5a38a
@@ -114,6 +114,7 @@ CameraBinService::CameraBinService(const QString &service, QObject *parent):
|
||||
m_videoRenderer = new QGstreamerVideoRenderer(this);
|
||||
#endif
|
||||
|
||||
#if defined(Q_WS_X11) && !defined(QT_NO_XVIDEO)
|
||||
|
||||
#ifdef Q_WS_MAEMO_6
|
||||
m_videoWindow = new QGstreamerVideoWindow(this, "omapxvsink");
|
||||
@@ -124,6 +125,8 @@ CameraBinService::CameraBinService(const QString &service, QObject *parent):
|
||||
|
||||
m_videoWidgetControl = new QGstreamerVideoWidgetControl(this);
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
if (!m_captureSession) {
|
||||
|
||||
Reference in New Issue
Block a user