diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2009-04-15 09:59:56 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-04-15 16:14:18 (GMT) |
commit | d006962a56d3f8d8ff305870128c8806c839cba9 (patch) | |
tree | 9548ce131135ee6cf6a585f345a9cc5056b34efd | |
parent | 3ad5e5546c48bc1a4dd47107367963c77ea290ff (diff) | |
download | Qt-d006962a56d3f8d8ff305870128c8806c839cba9.zip Qt-d006962a56d3f8d8ff305870128c8806c839cba9.tar.gz Qt-d006962a56d3f8d8ff305870128c8806c839cba9.tar.bz2 |
BT: OpenGL ES 2.0 now compiles properly for Windows CE
glpixmapfilter should not be compiled for OpenGL ES 2.0 on nay platform
Reviewed-by: Tom Cooksey
-rw-r--r-- | src/opengl/opengl.pro | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro index 48d7caf..78aaddb 100644 --- a/src/opengl/opengl.pro +++ b/src/opengl/opengl.pro @@ -25,18 +25,16 @@ HEADERS += qgl.h \ qglcolormap.h \ qglpixelbuffer.h \ qglframebufferobject.h \ - qglpixmapfilter_p.h SOURCES += qgl.cpp \ qglcolormap.cpp \ qglpixelbuffer.cpp \ qglframebufferobject.cpp \ qglextensions.cpp \ - qglpixmapfilter.cpp !contains(QT_CONFIG, opengles2) { - HEADERS += qpaintengine_opengl_p.h - SOURCES += qpaintengine_opengl.cpp + HEADERS += qpaintengine_opengl_p.h qglpixmapfilter_p.h + SOURCES += qpaintengine_opengl.cpp qglpixmapfilter.cpp } contains(QT_CONFIG, opengles2) { @@ -130,6 +128,10 @@ wince*: { contains(QT_CONFIG,opengles1cl) { QMAKE_LIBS += "libGLES_CL.lib" } + contains(QT_CONFIG,opengles2) { + QMAKE_LIBS += "libGLESv2.lib" + } + } else { QMAKE_LIBS += $$QMAKE_LIBS_OPENGL } |