summaryrefslogtreecommitdiff
path: root/examples/opengl
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-05-11 10:15:22 +0200
committerTom Cooksey <thomas.cooksey@nokia.com>2009-05-11 10:41:11 +0200
commit74b19ac00c70a32f0cfe25893ac2e32750e527dd (patch)
treeccee0b1b6371e6c6797b271d2a46f84e2b469c3a /examples/opengl
parent842ba1b3878c2973b24936b18a7ee55bdd980be6 (diff)
downloadqt4-tools-74b19ac00c70a32f0cfe25893ac2e32750e527dd.tar.gz
Only link against opengles .LIB files if on WinCE
Task-number: 251685 Reviewed-by: mauricek
Diffstat (limited to 'examples/opengl')
-rw-r--r--examples/opengl/hellogl_es/hellogl_es.pro12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/opengl/hellogl_es/hellogl_es.pro b/examples/opengl/hellogl_es/hellogl_es.pro
index 7459456785..3168743415 100644
--- a/examples/opengl/hellogl_es/hellogl_es.pro
+++ b/examples/opengl/hellogl_es/hellogl_es.pro
@@ -20,11 +20,13 @@ HEADERS += bubble.h
RESOURCES += texture.qrc
QT += opengl
-contains(QT_CONFIG,opengles1) {
- QMAKE_LIBS += "libGLES_CM.lib"
-}
-contains(QT_CONFIG,opengles1cl) {
- QMAKE_LIBS += "libGLES_CL.lib"
+wince*:{
+ contains(QT_CONFIG,opengles1) {
+ QMAKE_LIBS += "libGLES_CM.lib"
+ }
+ contains(QT_CONFIG,opengles1cl) {
+ QMAKE_LIBS += "libGLES_CL.lib"
+ }
}
# install