summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2009-11-04 11:22:18 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2009-11-04 11:22:18 (GMT)
commit26ded29b31c71ff43036798015cb1c77aae427e3 (patch)
tree24e91fe6f38e6d6d126acc9735557ddd54851547 /src/opengl
parent47546dd3cae4cb6f1ca87621fb3752524f9d050d (diff)
downloadQt-26ded29b31c71ff43036798015cb1c77aae427e3.zip
Qt-26ded29b31c71ff43036798015cb1c77aae427e3.tar.gz
Qt-26ded29b31c71ff43036798015cb1c77aae427e3.tar.bz2
Fixed compilation and linking of EGL on Windows CE.
Moved duplicated and broken code for setting up the include and library paths into the egl.prf feature file, which egl.pri and opengl.pro now includes using the qmake feature system. Task-number: QTBUG-5148 Reviewed-by: Tom Cooksey
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/opengl.pro10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro
index 7d6052b..deaf3bd 100644
--- a/src/opengl/opengl.pro
+++ b/src/opengl/opengl.pro
@@ -15,14 +15,7 @@ contains(QT_CONFIG, opengl):CONFIG += opengl
contains(QT_CONFIG, opengles1):CONFIG += opengles1
contains(QT_CONFIG, opengles1cl):CONFIG += opengles1cl
contains(QT_CONFIG, opengles2):CONFIG += opengles2
-
-contains(QT_CONFIG, opengles.*) {
- for(p, QMAKE_LIBDIR_EGL) {
- exists($$p):LIBS_PRIVATE += -L$$p
- }
- !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
- !isEmpty(QMAKE_LIBS_EGL): LIBS_PRIVATE += $$QMAKE_LIBS_EGL
-}
+contains(QT_CONFIG, egl):CONFIG += egl
HEADERS += qgl.h \
qgl_p.h \
@@ -163,3 +156,4 @@ contains(QT_CONFIG,opengles1) {
LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL
LIBS += $$QMAKE_LFLAGS_OPENGL
}
+