summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-05-11 08:15:22 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-05-11 08:41:11 (GMT)
commit74b19ac00c70a32f0cfe25893ac2e32750e527dd (patch)
treeccee0b1b6371e6c6797b271d2a46f84e2b469c3a /examples
parent842ba1b3878c2973b24936b18a7ee55bdd980be6 (diff)
downloadQt-74b19ac00c70a32f0cfe25893ac2e32750e527dd.zip
Qt-74b19ac00c70a32f0cfe25893ac2e32750e527dd.tar.gz
Qt-74b19ac00c70a32f0cfe25893ac2e32750e527dd.tar.bz2
Only link against opengles .LIB files if on WinCE
Task-number: 251685 Reviewed-by: mauricek
Diffstat (limited to 'examples')
-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 7459456..3168743 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