Skip to content

Commit 3342cd1

Browse files
author
Shane Kearns
committed
Symbian - fix compile error when default configured
New code assumed building with OpenGL/OpenVG, which is the production configuration, but not the default configuration Reviewed-By: Jani Hautakangas Task-Number: QTBUG-21996
1 parent 080fb26 commit 3342cd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gui/painting/qgraphicssystemex_symbian.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
#include <e32property.h>
4848

49-
#ifdef Q_SYMBIAN_SUPPORTS_SURFACES
49+
#if defined(Q_SYMBIAN_SUPPORTS_SURFACES) && !defined (QT_NO_EGL)
5050
#include "private/qegl_p.h"
5151
#endif
5252

@@ -55,7 +55,7 @@ QT_BEGIN_NAMESPACE
5555
static bool bcm2727Initialized = false;
5656
static bool bcm2727 = false;
5757

58-
#ifdef Q_SYMBIAN_SUPPORTS_SURFACES
58+
#if defined(Q_SYMBIAN_SUPPORTS_SURFACES) && !defined (QT_NO_EGL)
5959
typedef EGLBoolean (*NOK_resource_profiling)(EGLDisplay, EGLint, EGLint*, EGLint, EGLint*);
6060
#define EGL_PROF_TOTAL_MEMORY_NOK 0x3070
6161
#endif
@@ -69,7 +69,7 @@ bool QSymbianGraphicsSystemEx::hasBCM2727()
6969
if (bcm2727Initialized)
7070
return bcm2727;
7171

72-
#ifdef Q_SYMBIAN_SUPPORTS_SURFACES
72+
#if defined(Q_SYMBIAN_SUPPORTS_SURFACES) && !defined (QT_NO_EGL)
7373
EGLDisplay display = QEgl::display();
7474
#if 1
7575
// Hacky but fast ~0ms.

0 commit comments

Comments
 (0)