player.pro Example File | Qt Multimedia Widgets 5.5

- Qt 5.5
- Qt Multimedia Widgets
- Media Player Example
- player.pro Example File
- Qt 5.5.1 Reference Documentation

# player.pro Example File

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