summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-04-15 03:40:12 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-04-15 03:40:12 (GMT)
commitd20bf43e3f7b3d39fddd28eee5a5594de6930873 (patch)
tree5aaa55e3822fbb9210b971be4c625cc57e755aae /src
parent78dd32bce0cab27474faafd149bac99b4197f124 (diff)
downloadQt-d20bf43e3f7b3d39fddd28eee5a5594de6930873.zip
Qt-d20bf43e3f7b3d39fddd28eee5a5594de6930873.tar.gz
Qt-d20bf43e3f7b3d39fddd28eee5a5594de6930873.tar.bz2
Fix compilation of ShivaVG, which does not have EGL.
Task-number: QTBUG-9809 Reviewed-by: Sarah Smith
Diffstat (limited to 'src')
-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"