Qt 5.9 | Qt Multimedia | Video Widget Example | videowidget.pro Example File

Qt 5.9.4 Reference Documentation

# videowidget.pro Example File

multimediawidgets/videowidget/videowidget.pro

      TEMPLATE = app
      TARGET = videowidget

      QT += multimedia multimediawidgets

      HEADERS = \
          videoplayer.h

      SOURCES = \
          main.cpp \
          videoplayer.cpp

      target.path = $$[QT_INSTALL_EXAMPLES]/multimediawidgets/videowidget
      INSTALLS += target

      QT+=widgets