blob: 42d6b131e68c4a7205e2e2a1f7cf31587026b299 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
TARGET = wayland_egl
QT = core
!contains(QT_CONFIG, opengl): error("wayland_egl support requires Qt configured with OpenGL")
!contains(QT_CONFIG, egl): error("wayland_egl support requires Qt configured with EGL")
!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig
PKGCONFIG += wayland-egl
} else {
LIBS += -lwayland-egl
}
# Input
SOURCES += main.cpp
|