summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qwayland-egl/qwayland-egl.pro
blob: 7f8c7f3aa82be54baf5fc7b14cf7abfafe1e63dd (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
PLUGIN_TYPE = platforms
load(qt_plugin)

QT += waylandclient-private

OTHER_FILES += \
    qwayland-egl.json

DEFINES += QT_WAYLAND_GL_SUPPORT
!contains(QT_CONFIG, no-pkg-config) {
    CONFIG += link_pkgconfig
    PKGCONFIG += wayland-egl egl
} else {
    LIBS += -lwayland-egl -lEGL
}

SOURCES += qwaylandeglintegration.cpp \
           qwaylandglcontext.cpp \
           qwaylandeglwindow.cpp \
           main.cpp

HEADERS += qwaylandeglintegration.h \
           qwaylandglcontext.h \
           qwaylandeglwindow.h \
           qwaylandeglinclude.h