summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qml/qml.pri
blob: d0ff71d8f4f44242da9e203bc4d06faa74847a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

contains(QT_CONFIG, declarative) {
    QT += declarative

    system(pkg-config --exists \'libpulse >= 0.9.10\') {
        DEFINES += QT_MULTIMEDIA_PULSEAUDIO
        HEADERS += $$PWD/qsoundeffect_pulse_p.h
        SOURCES += $$PWD/qsoundeffect_pulse_p.cpp
        LIBS += -lpulse
    } else:x11 {
        DEFINES += QT_MULTIMEDIA_QMEDIAPLAYER
        HEADERS += $$PWD/qsoundeffect_qmedia_p.h
        SOURCES += $$PWD/qsoundeffect_qmedia_p.cpp
    } else {
        HEADERS += $$PWD/qsoundeffect_qsound_p.h
        SOURCES += $$PWD/qsoundeffect_qsound_p.cpp
    }

    HEADERS += \
        $$PWD/multimediadeclarative.h \
        $$PWD/qmetadatacontrolmetaobject_p.h \
        $$PWD/qdeclarativeaudio_p.h \
        $$PWD/qdeclarativevideo_p.h \
        $$PWD/qdeclarativemediabase_p.h \
        $$PWD/qsoundeffect_p.h \
        $$PWD/wavedecoder_p.h

    SOURCES += \
        $$PWD/multimediadeclarative.cpp \
        $$PWD/qmetadatacontrolmetaobject.cpp \
        $$PWD/qdeclarativeaudio.cpp \
        $$PWD/qdeclarativevideo.cpp \
        $$PWD/qdeclarativemediabase.cpp \
        $$PWD/qsoundeffect.cpp \
        $$PWD/wavedecoder_p.cpp
}