summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-04-15 03:40:12 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-04-16 01:19:14 (GMT)
commit1becce93326a78b3d0a5ffb45ce24211b65ec7f9 (patch)
treeac24b7aabc29ce909027ed99c529304ab300e0d6
parenteb96c51c5a11c429cebc53753bc8c5d2ba4303e6 (diff)
downloadQt-1becce93326a78b3d0a5ffb45ce24211b65ec7f9.zip
Qt-1becce93326a78b3d0a5ffb45ce24211b65ec7f9.tar.gz
Qt-1becce93326a78b3d0a5ffb45ce24211b65ec7f9.tar.bz2
Fix compilation of ShivaVG, which does not have EGL.
Task-number: QTBUG-9809 Reviewed-by: Sarah Smith (cherry picked from commit d20bf43e3f7b3d39fddd28eee5a5594de6930873)
-rw-r--r--src/openvg/qpixmapdata_vg.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvg/qpixmapdata_vg.cpp b/src/openvg/qpixmapdata_vg.cpp
index 5c4f41b..168f06a 100644
--- a/src/openvg/qpixmapdata_vg.cpp
+++ b/src/openvg/qpixmapdata_vg.cpp
@@ -42,7 +42,9 @@
#include "qpixmapdata_vg_p.h"
#include "qpaintengine_vg_p.h"
#include <QtGui/private/qdrawhelper_p.h>
+#if !defined(QT_NO_EGL)
#include <QtGui/private/qegl_p.h>
+#endif
#include "qvg_p.h"
#include "qvgimagepool_p.h"