summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/symbian/opengl.prf
diff options
context:
space:
mode:
authorJani Hautakangas <ext-jani.hautakangas@nokia.com>2010-08-19 19:33:31 (GMT)
committerJani Hautakangas <ext-jani.hautakangas@nokia.com>2010-08-20 06:16:02 (GMT)
commita68ad8cea58fd3bcbcf4ab5c6708896073c476b2 (patch)
tree4aa31f882b12142229ab7bcc373527e041726a94 /mkspecs/features/symbian/opengl.prf
parentd129112034d600ea925a4199d8bad72388444335 (diff)
downloadQt-a68ad8cea58fd3bcbcf4ab5c6708896073c476b2.zip
Qt-a68ad8cea58fd3bcbcf4ab5c6708896073c476b2.tar.gz
Qt-a68ad8cea58fd3bcbcf4ab5c6708896073c476b2.tar.bz2
Introduce QtOpenGL module for Symbian.
Task-number: QT-2139 Reviewed-by: Gunnar Sletta
Diffstat (limited to 'mkspecs/features/symbian/opengl.prf')
-rw-r--r--mkspecs/features/symbian/opengl.prf21
1 files changed, 21 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/opengl.prf b/mkspecs/features/symbian/opengl.prf
new file mode 100644
index 0000000..9a8ab18
--- /dev/null
+++ b/mkspecs/features/symbian/opengl.prf
@@ -0,0 +1,21 @@
+contains(QT_CONFIG, opengles1) {
+ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES1
+ !isEmpty(QMAKE_LIBDIR_OPENGL_ES1):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES1
+ target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES1_QT
+ else:LIBS += $$QMAKE_LIBS_OPENGL_ES1
+} else:contains(QT_CONFIG, opengles2) {
+ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
+ !isEmpty(QMAKE_LIBDIR_OPENGL_ES2):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES2
+ target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_ES2_QT
+ else:LIBS += $$QMAKE_LIBS_OPENGL_ES2
+} else {
+ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+ !isEmpty(QMAKE_LIBDIR_OPENGL):QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL
+ target_qt:LIBS_PRIVATE += $$QMAKE_LIBS_OPENGL_QT
+ else:LIBS += $$QMAKE_LIBS_OPENGL
+}
+
+contains(QT_CONFIG, egl) {
+ !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
+}
+