Qt 5.11 | Qt Multimedia | Media Player Example | player.pro Example File

Qt 5.11.3 Reference Documentation

# player.pro Example File

multimediawidgets/player/player.pro

      TEMPLATE = app
      TARGET = player

      QT += network \
            xml \
            multimedia \
            multimediawidgets \
            widgets

      HEADERS = \
          player.h \
          playercontrols.h \
          playlistmodel.h \
          videowidget.h \
          histogramwidget.h
      SOURCES = main.cpp \
          player.cpp \
          playercontrols.cpp \
          playlistmodel.cpp \
          videowidget.cpp \
          histogramwidget.cpp

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