8ba140823c3bbe7edd058d2981e15ecb12714285
[profile/ivi/qtwayland.git] / src / plugins / platforms / wayland / wayland.pro
1 TARGET = qwayland
2 include(../../qpluginbase.pri)
3
4 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
5
6 SOURCES =   main.cpp \
7             qwaylandintegration.cpp \
8             qwaylandshmsurface.cpp \
9             qwaylanddrmsurface.cpp \
10             qwaylandinputdevice.cpp \
11             qwaylandglcontext.cpp \
12     qwaylandcursor.cpp \
13     qwaylanddisplay.cpp \
14     qwaylandwindow.cpp \
15     qwaylandscreen.cpp
16
17 HEADERS =   qwaylandintegration.h \
18     qwaylandcursor.h \
19     qwaylanddisplay.h \
20     qwaylandwindow.h \
21     qwaylandscreen.h \
22     qwaylandglcontext.h \
23     qwaylandshmsurface.h \
24     qwaylanddrmsurface.h \
25     qwaylandbuffer.h
26
27 contains(QT_CONFIG, opengl) {
28     QT += opengl
29 }
30 LIBS += -lwayland-client -lxkbcommon -lEGL
31 unix {
32         CONFIG += link_pkgconfig
33         PKGCONFIG += libdrm
34 }
35
36 include (../fontdatabases/fontconfig/fontconfig.pri)
37
38 target.path += $$[QT_INSTALL_PLUGINS]/platforms
39 INSTALLS += target