2 include(../../qpluginbase.pri)
4 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms
6 DEFINES += Q_PLATFORM_WAYLAND
7 DEFINES += $$QMAKE_DEFINES_WAYLAND
10 qwaylandintegration.cpp \
11 qwaylandshmsurface.cpp \
12 qwaylandinputdevice.cpp \
19 HEADERS = qwaylandintegration.h \
24 qwaylandshmsurface.h \
25 qwaylanddrmsurface.h \
31 INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND
32 LIBS += $$QMAKE_LIBS_WAYLAND
33 QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND
35 contains(QT_CONFIG, opengles2) {
37 LIBS += -lwayland-egl -lEGL
39 SOURCES += qwaylanddrmsurface.cpp \
40 qwaylandglcontext.cpp \
41 ../eglconvenience/qeglconvenience.cpp \
44 HEADERS += qwaylandglcontext.h \
45 ../eglconvenience/qeglconvenience.h \
47 DEFINES += QT_WAYLAND_GL_SUPPORT
50 unix:isEmpty(QMAKE_INCDIR_WAYLAND) {
51 CONFIG += link_pkgconfig
55 include (../fontdatabases/genericunix/genericunix.pri)
57 target.path += $$[QT_INSTALL_PLUGINS]/platforms