Add a new qmake feature to support OpenGL ES 1 apps
authorJason Barron <jason.barron@nokia.com>
Thu, 9 Feb 2012 08:51:24 +0000 (09:51 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 28 Feb 2012 21:35:24 +0000 (22:35 +0100)
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>
mkspecs/features/opengles1.prf [new file with mode: 0644]

diff --git a/mkspecs/features/opengles1.prf b/mkspecs/features/opengles1.prf
new file mode 100644 (file)
index 0000000..b09262f
--- /dev/null
@@ -0,0 +1,2 @@
+QMAKE_LIBS_OPENGL_ES2 =
+LIBS += $$QMAKE_LIBS_OPENGL_ES1