summaryrefslogtreecommitdiffstats
path: root/config.tests/egl/egl.pro
blob: 402477db23aed1433bc28b6f7c9acbbe45b9c57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TARGET = egl
QT = core

!contains(QT_CONFIG, opengl): error("egl support requires Qt configured with OpenGL")
!contains(QT_CONFIG, egl): error("egl support requires Qt configured with EGL")

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

# Input
SOURCES += main.cpp