The videowidget example now uses QVideoWidget instead of a custom QAbstractVideoSurface, the former being the most straightforward and fastest way of showing a video in a QWidget. The old code has been moved to a new example: "customvideosurface". Change-Id: I15fb4482d0e77bafd24d4cb03316fc8f4ef13c35 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Jason Barron <jason.barron@digia.com>
32 lines
623 B
Prolog
32 lines
623 B
Prolog
TEMPLATE = subdirs
|
|
|
|
SUBDIRS += audiodecoder
|
|
|
|
# These examples all need widgets for now (using creator templates that use widgets)
|
|
!isEmpty(QT.widgets.name) {
|
|
SUBDIRS += \
|
|
radio \
|
|
camera \
|
|
spectrum \
|
|
audiorecorder \
|
|
audiodevices \
|
|
audioinput \
|
|
audiooutput \
|
|
videographicsitem \
|
|
videowidget \
|
|
player \
|
|
customvideosurface
|
|
|
|
QT += widgets
|
|
}
|
|
|
|
!isEmpty(QT.gui.name):!isEmpty(QT.qml.name) {
|
|
disabled:SUBDIRS += declarative-camera
|
|
SUBDIRS += \
|
|
declarative-radio \
|
|
video
|
|
}
|
|
|
|
config_openal: SUBDIRS += audioengine
|
|
|