summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/wayland.pro
blob: 8ba140823c3bbe7edd058d2981e15ecb12714285 (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
TARGET = qwayland
include(../../qpluginbase.pri)

QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms

SOURCES =   main.cpp \
            qwaylandintegration.cpp \
            qwaylandshmsurface.cpp \
            qwaylanddrmsurface.cpp \
            qwaylandinputdevice.cpp \
            qwaylandglcontext.cpp \
    qwaylandcursor.cpp \
    qwaylanddisplay.cpp \
    qwaylandwindow.cpp \
    qwaylandscreen.cpp

HEADERS =   qwaylandintegration.h \
    qwaylandcursor.h \
    qwaylanddisplay.h \
    qwaylandwindow.h \
    qwaylandscreen.h \
    qwaylandglcontext.h \
    qwaylandshmsurface.h \
    qwaylanddrmsurface.h \
    qwaylandbuffer.h

contains(QT_CONFIG, opengl) {
    QT += opengl
}
LIBS += -lwayland-client -lxkbcommon -lEGL
unix {
	CONFIG += link_pkgconfig
	PKGCONFIG += libdrm
}

include (../fontdatabases/fontconfig/fontconfig.pri)

target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target