summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/win32
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-06-24 02:55:06 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-06-24 02:55:06 (GMT)
commit871364bf2475cf3b2a9c5535b59dab41db184ef4 (patch)
tree724bacc13f16cfa236d6069cd8ae7089954e290c /mkspecs/features/win32
parent0570b26f90f031b09970f8fca1a67339b66ee33f (diff)
downloadQt-871364bf2475cf3b2a9c5535b59dab41db184ef4.zip
Qt-871364bf2475cf3b2a9c5535b59dab41db184ef4.tar.gz
Qt-871364bf2475cf3b2a9c5535b59dab41db184ef4.tar.bz2
Better detection for OpenVG engines that run on top of OpenGL
ShivaVG runs on top of OpenGL. Include the QMAKE_*_OPENGL flags on the link line if it is needed by the OpenVG engine. Reviewed-by: trustme
Diffstat (limited to 'mkspecs/features/win32')
-rw-r--r--mkspecs/features/win32/openvg.prf4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/features/win32/openvg.prf b/mkspecs/features/win32/openvg.prf
index d4aa296..0df5b66 100644
--- a/mkspecs/features/win32/openvg.prf
+++ b/mkspecs/features/win32/openvg.prf
@@ -1,3 +1,7 @@
QMAKE_LIBS += $$QMAKE_LIBS_OPENVG
QMAKE_LFLAGS += $$QMAKE_LFLAGS_OPENVG
+contains(QT_CONFIG, openvg_on_opengl) {
+ QMAKE_LIBS += $$QMAKE_LIBS_OPENGL
+ QMAKE_LFLAGS += $$QMAKE_LFLAGS_OPENGL
+}