Use QVideoGraphicsItem in the videographicsitem example.
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>
This commit is contained in:
committed by
The Qt Project
parent
439d5b0e53
commit
b616dd5165
@@ -0,0 +1,23 @@
|
||||
TEMPLATE = app
|
||||
TARGET = customvideowidget
|
||||
|
||||
QT += multimedia multimediawidgets
|
||||
|
||||
HEADERS = \
|
||||
videoplayer.h \
|
||||
videowidget.h \
|
||||
videowidgetsurface.h
|
||||
|
||||
SOURCES = \
|
||||
main.cpp \
|
||||
videoplayer.cpp \
|
||||
videowidget.cpp \
|
||||
videowidgetsurface.cpp
|
||||
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/customvideowidget
|
||||
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
|
||||
sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/customvideowidget
|
||||
|
||||
INSTALLS += target sources
|
||||
|
||||
QT+=widgets
|
||||
Reference in New Issue
Block a user