summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-29 16:12:15 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-29 16:12:15 (GMT)
commit2be0e2ef4ec6702aaaebf7096fd527e2e161334a (patch)
tree926c9ff2adefc491da6b72c1e3de68ae1c29b5c7 /src/gui
parent8bd8a376cde068d0682142a6e25f25ed5931e2ee (diff)
downloadQt-2be0e2ef4ec6702aaaebf7096fd527e2e161334a.zip
Qt-2be0e2ef4ec6702aaaebf7096fd527e2e161334a.tar.gz
Qt-2be0e2ef4ec6702aaaebf7096fd527e2e161334a.tar.bz2
Add some #warnings to debug Symbian EGL build failure
This should probably be reverted before we release. Reviewed-By: TrustMe
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/egl/qegl_p.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gui/egl/qegl_p.h b/src/gui/egl/qegl_p.h
index c659796..53abe4a 100644
--- a/src/gui/egl/qegl_p.h
+++ b/src/gui/egl/qegl_p.h
@@ -110,6 +110,30 @@ QT_BEGIN_NAMESPACE
#define EGLAPIENTRY
#endif
+// Try to get some info to debug the symbian build failues:
+#ifdef Q_OS_SYMBIAN
+
+#ifdef EGL_KHR_image
+#warning "EGL_KHR_image is defined"
+#else
+#warning "EGL_KHR_image is NOT defined"
+#endif
+
+#ifdef EGL_KHR_image_base
+#warning "EGL_KHR_image_base is defined"
+#else
+#warning "EGL_KHR_image_base is NOT defined"
+#endif
+
+#ifdef EGL_EGLEXT_PROTOTYPES
+#warning "EGL_EGLEXT_PROTOTYPES is defined"
+#else
+#warning "EGL_EGLEXT_PROTOTYPES NOT not defined"
+#endif
+
+#endif
+
+
#if !defined(EGL_KHR_image) && !defined(EGL_KHR_image_base)
typedef void *EGLImageKHR;