qt5base-lts/mkspecs/features/egl.prf
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00

22 lines
746 B
Plaintext

# On UNIX, we can use config tests to figure out if egl.h is in
# EGL/egl.h or GLES/egl.h. Sadly, there are no config tests on WinCE
# so we have to assume that for GLES 1.1 (CL), the EGL header is in
# GLES/egl.h. We also assume there is no separate libEGL.lib library,
# so we use the GL library instead.
wince*:contains(QT_CONFIG, opengles1) {
INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1
LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1
for(p, QMAKE_LIBDIR_OPENGL_ES1) {
exists($$p):LIBS_PRIVATE += -L$$p
}
DEFINES += QT_GLES_EGL
} else {
INCLUDEPATH += $$QMAKE_INCDIR_EGL
LIBS_PRIVATE += $$QMAKE_LIBS_EGL
LIBS += $$QMAKE_LFLAGS_EGL
for(p, QMAKE_LIBDIR_EGL) {
exists($$p):LIBS_PRIVATE += -L$$p
}
}