The videographicsitem example now uses QVideoGraphicsItem instead of a custom QAbstractVideoSurface. The old code has been moved to a new example: "customvideosurface/customvideoitem". Change-Id: I83212f36168ef94d670b447eb1a742a39753939d Reviewed-by: Jason Barron <jason.barron@digia.com>
20 lines
446 B
Prolog
20 lines
446 B
Prolog
TEMPLATE = app
|
|
TARGET = videographicsitem
|
|
|
|
QT += multimedia multimediawidgets
|
|
|
|
contains(QT_CONFIG, opengl): QT += opengl
|
|
|
|
HEADERS += videoplayer.h
|
|
|
|
SOURCES += main.cpp \
|
|
videoplayer.cpp
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/videographicsitem
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/videographicsitem
|
|
|
|
INSTALLS += target sources
|
|
|
|
QT+=widgets
|