player.pro Example File | Qt Multimedia 5.6

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

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

      maemo* {
          DEFINES += PLAYER_NO_COLOROPTIONS
      }

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