--- a/tests/auto/qgl/qgl.pro Mon Mar 15 12:43:09 2010 +0200
+++ b/tests/auto/qgl/qgl.pro Thu Apr 08 14:19:33 2010 +0300
@@ -6,6 +6,8 @@
requires(contains(QT_CONFIG,opengl))
QT += opengl
-SOURCES += tst_qgl.cpp
+contains(QT_CONFIG,egl):DEFINES += QGL_EGL
+SOURCES += tst_qgl.cpp
+RESOURCES = qgl.qrc