summaryrefslogtreecommitdiffstats
path: root/src/window-lib/window-lib.pro
blob: 2f0272c2f8b93edbfd26f4a510e1b1e6b20bb0ad (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
46
47
48
49
50
51
52
53
54
55
56
57
TEMPLATE = lib
TARGET = QtAppManWindow
MODULE = appman_window

load(am-config)

QT = core network qml core-private
!headless:QT *= gui quick
QT_FOR_PRIVATE *= \
    appman_common-private \
    appman_application-private \
    appman_manager-private \

CONFIG *= static internal_module

multi-process:!headless {
    HEADERS += \
        waylandcompositor.h \
        waylandwindow.h

    SOURCES += \
        waylandcompositor.cpp \
        waylandwindow.cpp

    qtHaveModule(waylandcompositor):qtHaveModule(waylandcompositor-private) {
        QT *= waylandcompositor waylandcompositor-private
        !osx:PKGCONFIG += wayland-server

        HEADERS += waylandcompositor_p.h
    } else:qtHaveModule(compositor) {
        QT *= compositor
    }
}

!headless:HEADERS += \
    window.h \
    inprocesswindow.h \
    windowmanager.h \
    windowmanager_p.h \
    touchemulation.h \


!headless:SOURCES += \
    window.cpp \
    inprocesswindow.cpp \
    windowmanager.cpp \
    touchemulation.cpp \

# build the touch emulation only on X11 setups
!headless:config_touchemulation {
    PKGCONFIG *= xcb x11 xi
    QT *= gui-private testlib
    HEADERS += touchemulation_x11.h
    SOURCES += touchemulation_x11.cpp
}

load(qt_module)