summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/unix.pri
blob: 0e320650fd20b5cb97e84b2d27c9222e8336de7e (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
38
39
40
41
42
43
44
45
SOURCES += \
    platform/unix/qunixeventdispatcher.cpp \
    platform/unix/qgenericunixeventdispatcher.cpp \
    platform/unix/qunixnativeinterface.cpp

HEADERS += \
    platform/unix/qunixeventdispatcher_qpa_p.h \
    platform/unix/qgenericunixeventdispatcher_p.h


qtConfig(glib) {
    SOURCES += platform/unix/qeventdispatcher_glib.cpp
    HEADERS += platform/unix/qeventdispatcher_glib_p.h
    QMAKE_USE_PRIVATE += glib
}

if(unix:!uikit)|qtConfig(xcb) {
    SOURCES += \
        platform/unix/qgenericunixservices.cpp
    HEADERS += \
        platform/unix/qgenericunixservices_p.h

    qtHaveModule(dbus): QT_PRIVATE += dbus
}

if(unix:!uikit:!macos)|qtConfig(xcb) {
    SOURCES += \
        platform/unix/qgenericunixthemes.cpp
    HEADERS += \
        platform/unix/qgenericunixthemes_p.h

    qtHaveModule(dbus) {
        include(dbusmenu/dbusmenu.pri)
        qtConfig(systemtrayicon): include(dbustray/dbustray.pri)
    }
}

qtConfig(xkbcommon) {
    SOURCES += \
        platform/unix/qxkbcommon_3rdparty.cpp \
        platform/unix/qxkbcommon.cpp
    HEADERS += \
        platform/unix/qxkbcommon_p.h
    QMAKE_USE_PRIVATE += xkbcommon
}