Add qmlvideo and qmlvideofx examples
Based on code imported from master branch of QtMobility repo, ported to Qt Quick 2. Task-number: QTBUG-23118 Change-Id: Ifd297de0e595c675ff1a8e3218d91b03629295b9 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
f33731fe5a
commit
febe398400
15
examples/video/video.pro
Normal file
15
examples/video/video.pro
Normal file
@@ -0,0 +1,15 @@
|
||||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += qmlvideo
|
||||
|
||||
# qmlvideofx requires QtOpenGL and ShaderEffectItem (added in Qt 4.7.4)
|
||||
contains(QT_CONFIG, opengl) {
|
||||
lessThan(QT_MAJOR_VERSION, 5) {
|
||||
!lessThan(QT_MAJOR_VERSION, 4) {
|
||||
SUBDIRS += qmlvideofx
|
||||
}
|
||||
} else {
|
||||
SUBDIRS += qmlvideofx
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user