summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/wayland.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wayland/wayland.pro')
-rw-r--r--src/plugins/platforms/wayland/wayland.pro23
1 files changed, 2 insertions, 21 deletions
diff --git a/src/plugins/platforms/wayland/wayland.pro b/src/plugins/platforms/wayland/wayland.pro
index face860..5945438 100644
--- a/src/plugins/platforms/wayland/wayland.pro
+++ b/src/plugins/platforms/wayland/wayland.pro
@@ -22,35 +22,16 @@ HEADERS = qwaylandintegration.h \
qwaylandwindow.h \
qwaylandscreen.h \
qwaylandshmsurface.h \
- qwaylanddrmsurface.h \
qwaylandbuffer.h \
- qwaylandinclude.h \
- qwaylandeglwindow.h \
qwaylandshmwindow.h
INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND
LIBS += $$QMAKE_LIBS_WAYLAND
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND
-contains(QT_CONFIG, opengles2) {
- QT += opengl
- LIBS += -lwayland-egl -lEGL
+INCLUDEPATH += $$PWD
- SOURCES += qwaylanddrmsurface.cpp \
- qwaylandglcontext.cpp \
- ../eglconvenience/qeglconvenience.cpp \
- qwaylandeglwindow.cpp
-
- HEADERS += qwaylandglcontext.h \
- ../eglconvenience/qeglconvenience.h \
-
- DEFINES += QT_WAYLAND_GL_SUPPORT
-}
-
-unix:isEmpty(QMAKE_INCDIR_WAYLAND) {
- CONFIG += link_pkgconfig
- PKGCONFIG += libdrm
-}
+include ($$PWD/gl_integration/gl_integration.pri)
include (../fontdatabases/genericunix/genericunix.pri)