summaryrefslogtreecommitdiffstats
path: root/src/openvg/openvg.pro
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 /src/openvg/openvg.pro
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 'src/openvg/openvg.pro')
-rw-r--r--src/openvg/openvg.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openvg/openvg.pro b/src/openvg/openvg.pro
index 4d499ef..240bf13 100644
--- a/src/openvg/openvg.pro
+++ b/src/openvg/openvg.pro
@@ -45,4 +45,10 @@ contains(QT_CONFIG, egl) {
!isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
}
+contains(QT_CONFIG, openvg_on_opengl) {
+ !isEmpty(QMAKE_INCDIR_OPENGL): INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+ !isEmpty(QMAKE_LIBDIR_OPENGL): LIBS += -L$$QMAKE_LIBDIR_OPENGL
+ !isEmpty(QMAKE_LIBS_OPENGL): LIBS += $$QMAKE_LIBS_OPENGL
+}
+
INCLUDEPATH += ../3rdparty/harfbuzz/src