DESTDIR and INSTALLS+=target are set up automatically now. note that in the qmediaserviceprovider test we must override that. also, TARGET munging is done automatically. Change-Id: Ida5d5601e22b099134d1ec07ace713e0d0986bd6 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
71 lines
1.6 KiB
Prolog
71 lines
1.6 KiB
Prolog
# Avoid clash with a variable named `slots' in a Quartz header
|
|
CONFIG += no_keywords
|
|
|
|
TARGET = qqt7engine
|
|
QT += multimedia-private network
|
|
!isEmpty(QT.widgets.name) {
|
|
QT += multimediawidgets-private widgets
|
|
}
|
|
|
|
PLUGIN_TYPE = mediaservice
|
|
load(qt_plugin)
|
|
|
|
!simulator {
|
|
QT += opengl
|
|
}
|
|
|
|
#DEFINES += QT_DEBUG_QT7
|
|
|
|
LIBS += -framework AppKit -framework AudioUnit \
|
|
-framework AudioToolbox -framework CoreAudio \
|
|
-framework QuartzCore -framework QTKit
|
|
|
|
# The Quicktime framework is only awailable for 32-bit builds, so we
|
|
# need to check for this before linking against it.
|
|
# QMAKE_MAC_XARCH is not awailable on Tiger, but at the same time,
|
|
# we never build for 64-bit architechtures on Tiger either:
|
|
contains(QMAKE_MAC_XARCH, no) {
|
|
LIBS += -framework QuickTime
|
|
} else {
|
|
LIBS += -Xarch_i386 -framework QuickTime -Xarch_ppc -framework QuickTime
|
|
}
|
|
|
|
HEADERS += \
|
|
qt7backend.h \
|
|
qt7videooutput.h \
|
|
qt7serviceplugin.h
|
|
|
|
OBJECTIVE_SOURCES += \
|
|
qt7backend.mm \
|
|
qt7serviceplugin.mm
|
|
|
|
!simulator {
|
|
HEADERS += \
|
|
qt7movieviewoutput.h \
|
|
qt7movierenderer.h \
|
|
qt7ciimagevideobuffer.h \
|
|
qcvdisplaylink.h
|
|
|
|
OBJECTIVE_SOURCES += \
|
|
qt7movieviewoutput.mm \
|
|
qt7movierenderer.mm \
|
|
qt7videooutput.mm \
|
|
qt7ciimagevideobuffer.mm \
|
|
qcvdisplaylink.mm
|
|
|
|
!isEmpty(QT.widgets.name) {
|
|
HEADERS += \
|
|
qt7movieviewrenderer.h \
|
|
qt7movievideowidget.h
|
|
|
|
OBJECTIVE_SOURCES += \
|
|
qt7movieviewrenderer.mm \
|
|
qt7movievideowidget.mm
|
|
}
|
|
}
|
|
|
|
include(mediaplayer/mediaplayer.pri)
|
|
|
|
OTHER_FILES += \
|
|
qt7.json
|