summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2012-02-09 09:51:24 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-28 22:35:24 +0100
commitfa1b9070af66edb81b2a3735c1951f78b22bd666 (patch)
tree772eb814573ffe602dad5669f9a30080c2f2b4d2
parent018e78575c6f7f5a90b41274468a26b09b909443 (diff)
Add a new qmake feature to support OpenGL ES 1 apps
This is a convenience to make it easy for applications to simply add: CONFIG += opengles1 To their .pro file to link against OpenGL ES 1.1 instead of OpenGL ES V2 Change-Id: I48605f5f69f83d99cfb2ad6dbb4b318d41e00128 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r--mkspecs/features/opengles1.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/opengles1.prf b/mkspecs/features/opengles1.prf
new file mode 100644
index 0000000000..b09262f8a9
--- /dev/null
+++ b/mkspecs/features/opengles1.prf
@@ -0,0 +1,2 @@
+QMAKE_LIBS_OPENGL_ES2 =
+LIBS += $$QMAKE_LIBS_OPENGL_ES1