diff -r 79de32ba3296 -r 89e065397ea6 src/gui/egl/qeglproperties_p.h --- a/src/gui/egl/qeglproperties_p.h Fri May 14 16:40:13 2010 +0300 +++ b/src/gui/egl/qeglproperties_p.h Thu May 27 13:40:48 2010 +0300 @@ -58,6 +58,7 @@ QT_BEGIN_INCLUDE_NAMESPACE +#ifndef QT_NO_EGL #if defined(QT_OPENGL_ES_2) # include #endif @@ -67,6 +68,24 @@ #else # include #endif +#else + +//types from egltypes.h for compiling stub without EGL headers +typedef int EGLBoolean; +typedef int EGLint; +typedef int EGLenum; +typedef int NativeDisplayType; +typedef void* NativeWindowType; +typedef void* NativePixmapType; +typedef int EGLDisplay; +typedef int EGLConfig; +typedef int EGLSurface; +typedef int EGLContext; +typedef int EGLClientBuffer; +#define EGL_NONE 0x3038 /* Attrib list terminator */ + +#endif + #if defined(Q_WS_X11) @@ -103,7 +122,7 @@ ExactPixelFormat, BestPixelFormat }; -}; +} class QX11Info; class QPaintDevice;