Make glx wayland backends working.
[profile/ivi/qtwayland.git] / src / plugins / platforms / wayland / wayland.pro
1 TARGET = qwayland
2 load(qt_plugin)
3
4 CONFIG += qpa/genericunixfontdatabase
5
6 DESTDIR = $$QT.gui.plugins/platforms
7
8 DEFINES += Q_PLATFORM_WAYLAND
9 DEFINES += $$QMAKE_DEFINES_WAYLAND
10
11 QT += core-private gui-private opengl-private platformsupport-private
12
13 SOURCES =   main.cpp \
14             qwaylandintegration.cpp \
15             qwaylandnativeinterface.cpp \
16             qwaylandshmsurface.cpp \
17             qwaylandinputdevice.cpp \
18             qwaylandcursor.cpp \
19             qwaylanddisplay.cpp \
20             qwaylandwindow.cpp \
21             qwaylandscreen.cpp \
22             qwaylandshmwindow.cpp \
23             qwaylandclipboard.cpp
24
25 HEADERS =   qwaylandintegration.h \
26             qwaylandnativeinterface.h \
27             qwaylandcursor.h \
28             qwaylanddisplay.h \
29             qwaylandwindow.h \
30             qwaylandscreen.h \
31             qwaylandshmsurface.h \
32             qwaylandbuffer.h \
33             qwaylandshmwindow.h \
34             qwaylandclipboard.h
35
36 INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND
37 LIBS += $$QMAKE_LIBS_WAYLAND
38 QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND
39
40 target.path += $$[QT_INSTALL_PLUGINS]/platforms
41 INSTALLS += target
42
43 include ($$PWD/gl_integration/gl_integration.pri)
44 include ($$PWD/windowmanager_integration/windowmanager_integration.pri)