summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/symbian/opengl.prf
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-08-20 10:45:48 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-08-20 10:45:48 (GMT)
commit5b1d33a8e53d74098b6a42775e39cd61cb8001c5 (patch)
treec4455eb65f300260c30c4ec3734b0185ae68245b /mkspecs/features/symbian/opengl.prf
parente30a4498bf651bf7ddd4380a0641a6f52917a4cd (diff)
parenta68ad8cea58fd3bcbcf4ab5c6708896073c476b2 (diff)
downloadQt-5b1d33a8e53d74098b6a42775e39cd61cb8001c5.zip
Qt-5b1d33a8e53d74098b6a42775e39cd61cb8001c5.tar.gz
Qt-5b1d33a8e53d74098b6a42775e39cd61cb8001c5.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Introduce QtOpenGL module for Symbian.
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
+}
+