summaryrefslogtreecommitdiffstats
path: root/config.profiles
diff options
context:
space:
mode:
authorPasi Pentikainen <ext-pasi.a.pentikainen@nokia.com>2012-03-21 14:42:17 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-23 01:05:20 (GMT)
commit327fa27f7d06d6328df2716eb7d78916fd0938cf (patch)
tree25a0e175d5634da27d6e0122898db72c6fa0505e /config.profiles
parentfebdc08ebbc6565522be4e4c000bacd260f5c6e0 (diff)
downloadQt-327fa27f7d06d6328df2716eb7d78916fd0938cf.zip
Qt-327fa27f7d06d6328df2716eb7d78916fd0938cf.tar.gz
Qt-327fa27f7d06d6328df2716eb7d78916fd0938cf.tar.bz2
Symbian: drop OpenGL ES in non-supported hardware
When hardware configuration has no OpenGL ES 2 support indicated, leave OpenGL ES out of Qt compilation alltogether. Task-number: ou1cimx1#987609 Change-Id: If43a8de059596fbdb52c97535436c441760c97ab Reviewed-by: Gareth Stockwell <ext-gareth.stockwell@nokia.com> Reviewed-by: Jani Hautakangas <jani.hautakangas@nokia.com>
Diffstat (limited to 'config.profiles')
-rw-r--r--config.profiles/symbian/bld.inf9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.profiles/symbian/bld.inf b/config.profiles/symbian/bld.inf
index bfddedc..01c2320 100644
--- a/config.profiles/symbian/bld.inf
+++ b/config.profiles/symbian/bld.inf
@@ -119,5 +119,12 @@ translations/qt_zh_TW.ts /epoc32/include/platform/qt/translations/
PRJ_EXTENSIONS
START EXTENSION qt/qtconfig
OPTION QT_ROOT ..
-OPTION OPTIONS -opensource -confirm-license -openvg -opengl es2 -script -no-scripttools -no-webkit -make make -graphicssystem openvg -phonon -phonon-backend -usedeffiles -dont-process -nomake examples -nomake demos -nomake tools -audio-backend -fpu softvfp+vfpv2 -debug -debug-and-release
+
+#ifdef VSW_GSW_HAVE_OPENGL_ES2
+# define QT_OPENGL_ES_CONFIG -opengl es2
+#else
+# define QT_OPENGL_ES_CONFIG
+#endif
+
+OPTION OPTIONS -opensource -confirm-license -openvg QT_OPENGL_ES_CONFIG -script -no-scripttools -no-webkit -make make -graphicssystem openvg -phonon -phonon-backend -usedeffiles -dont-process -nomake examples -nomake demos -nomake tools -audio-backend -fpu softvfp+vfpv2 -debug -debug-and-release
END