Fixed build problems with Quicktime
Because the Q_WS_* defines were removed, the Quicktime backend stopped working. Replacing them with Q_OS_* works. Additionally, the Quicktimer Player Service has to depend on QtWidgets. Change-Id: I687b352191c38a91edaaf2a687ac13ed118fcf88 Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
This commit is contained in:
@@ -36,7 +36,7 @@ unix:!mac {
|
||||
|
||||
mac:!simulator {
|
||||
SUBDIRS += audiocapture
|
||||
!qpa: SUBDIRS += qt7
|
||||
SUBDIRS += qt7
|
||||
}
|
||||
|
||||
# fake radio to test the radio APIs
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#include <QtCore/qvariant.h>
|
||||
#include <QtCore/qdebug.h>
|
||||
#include <QtGui/qwidget.h>
|
||||
#include <QtWidgets/qwidget.h>
|
||||
|
||||
#include "qt7backend.h"
|
||||
#include "qt7playerservice.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
load(qt_module)
|
||||
|
||||
TARGET = qqt7engine
|
||||
QT += multimedia-private multimediawidgets-private network
|
||||
QT += multimedia-private multimediawidgets-private network widgets
|
||||
PLUGIN_TYPE = mediaservice
|
||||
|
||||
load(qt_plugin)
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
|
||||
#include <QtCore/QString>
|
||||
|
||||
#ifndef Q_WS_SIMULATOR
|
||||
#ifndef Q_WS_MAC64
|
||||
#ifndef Q_OS_SIMULATOR
|
||||
#ifndef Q_OS_MAC64
|
||||
#define QUICKTIME_C_API_AVAILABLE
|
||||
#endif
|
||||
#endif // !defined(Q_WS_SIMULATOR)
|
||||
|
||||
Reference in New Issue
Block a user