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

Qt 5.11.3 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