-
Notifications
You must be signed in to change notification settings - Fork 1k
/
xcb_qpa_lib.pro
115 lines (96 loc) · 2.81 KB
/
xcb_qpa_lib.pro
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
TARGET = QtXcbQpa
CONFIG += no_module_headers internal_module
DEFINES += QT_NO_FOREACH
QT += \
core-private gui-private \
service_support-private theme_support-private \
fontdatabase_support-private \
edid_support-private \
xkbcommon_support-private
qtHaveModule(linuxaccessibility_support-private): \
QT += linuxaccessibility_support-private
qtConfig(vulkan): QT += vulkan_support-private
qtConfig(glib) : QMAKE_USE_PRIVATE += glib
SOURCES = \
qxcbclipboard.cpp \
qxcbconnection.cpp \
qxcbintegration.cpp \
qxcbkeyboard.cpp \
qxcbmime.cpp \
qxcbscreen.cpp \
qxcbwindow.cpp \
qxcbbackingstore.cpp \
qxcbwmsupport.cpp \
qxcbnativeinterface.cpp \
qxcbcursor.cpp \
qxcbimage.cpp \
qxcbxsettings.cpp \
qxcbsystemtraytracker.cpp \
qxcbeventqueue.cpp \
qxcbeventdispatcher.cpp \
qxcbconnection_basic.cpp \
qxcbconnection_screens.cpp \
qxcbconnection_xi2.cpp \
qxcbatom.cpp
HEADERS = \
qxcbclipboard.h \
qxcbconnection.h \
qxcbintegration.h \
qxcbkeyboard.h \
qxcbmime.h \
qxcbobject.h \
qxcbscreen.h \
qxcbwindow.h \
qxcbbackingstore.h \
qxcbwmsupport.h \
qxcbnativeinterface.h \
qxcbcursor.h \
qxcbimage.h \
qxcbxsettings.h \
qxcbsystemtraytracker.h \
qxcbeventqueue.h \
qxcbeventdispatcher.h \
qxcbconnection_basic.h \
qxcbatom.h
qtConfig(draganddrop) {
SOURCES += qxcbdrag.cpp
HEADERS += qxcbdrag.h
}
load(qt_build_paths)
DEFINES += QT_BUILD_XCB_PLUGIN
qtConfig(xcb-xlib) {
QMAKE_USE += xcb_xlib
}
qtConfig(xcb-sm) {
QMAKE_USE += x11sm
SOURCES += qxcbsessionmanager.cpp
HEADERS += qxcbsessionmanager.h
}
include(gl_integrations/gl_integrations.pri)
include(nativepainting/nativepainting.pri)
qtConfig(vulkan) {
SOURCES += \
qxcbvulkaninstance.cpp \
qxcbvulkanwindow.cpp
HEADERS += \
qxcbvulkaninstance.h \
qxcbvulkanwindow.h
}
QMAKE_USE += \
xcb xcb_icccm xcb_image xcb_keysyms xcb_randr xcb_render xcb_renderutil \
xcb_shape xcb_shm xcb_sync xcb_xfixes xcb_xinerama xcb_xkb xkbcommon xkbcommon_x11
qtConfig(system-xcb-xinput) {
QMAKE_USE += xcb_xinput
} else {
# Use bundled xcb-xinput sources.
XCB_DIR = $$QT_SOURCE_TREE/src/3rdparty/xcb
INCLUDEPATH += $$XCB_DIR/include/
SOURCES += $$XCB_DIR/libxcb/xinput.c
# Ignore compiler warnings in 3rdparty C code.
QMAKE_CFLAGS+=-w
}
qtConfig(dlopen): QMAKE_USE += libdl
# qxcbkeyboard.cpp's KeyTbl has more than 256 levels of expansion and older
# Clang uses that as a limit (it's 1024 in current versions).
clang:!intel_icc: QMAKE_CXXFLAGS += -ftemplate-depth=1024
load(qt_module)