From 451afec8b961774070efbe3e5a6fa13ea7c4c07f Mon Sep 17 00:00:00 2001 From: Bernhard Rosenkraenzer Date: Fri, 10 Jun 2011 18:08:44 +0200 Subject: [PATCH] Fix building the OpenVG graphicssystem on Linux with static libs Without this, building OpenVG would fail because Q_OPENVG_EXPORT wasn't defined at all, causing it to be treated as a variable name Merge-request: 1256 Reviewed-by: Oswald Buddenhagen (cherry picked from commit 8680ced782c5e225b2e15c50c05493a23410b119) Change-Id: I0da36af8cdcf411325fad25fa5c4d2ab7764c0ee Reviewed-on: http://codereview.qt-project.org/4573 Reviewed-by: Qt Sanity Bot Reviewed-by: Oswald Buddenhagen --- src/corelib/global/qglobal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 901f4e5..1552f67 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1408,6 +1408,7 @@ class QDataStream; # define Q_DECLARATIVE_EXPORT # define Q_OPENGL_EXPORT # define Q_MULTIMEDIA_EXPORT +# define Q_OPENVG_EXPORT # define Q_XML_EXPORT # define Q_XMLPATTERNS_EXPORT # define Q_SCRIPT_EXPORT -- 2.7.4