summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-04-27 09:06:34 (GMT)
committeraxis <qt-info@nokia.com>2009-05-11 07:14:45 (GMT)
commitc33abd370470a0097cc1fbb858e1218ba110e0df (patch)
treee99666a47faf783e2e6efd43be5ffec0c60978be /src/corelib
parent804a0ff4ad8c27ece2d403b8d9a4f6f65cdcf867 (diff)
downloadQt-c33abd370470a0097cc1fbb858e1218ba110e0df.zip
Qt-c33abd370470a0097cc1fbb858e1218ba110e0df.tar.gz
Qt-c33abd370470a0097cc1fbb858e1218ba110e0df.tar.bz2
Enable symbol visibility when compiling with RVCT.
This takes advantage of new functionality in RVCT 2.2, and requires build 671 beta or later.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qglobal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 27aaac1..15b2d53 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -1118,7 +1118,7 @@ class QDataStream;
#ifndef Q_DECL_EXPORT
# ifdef Q_OS_WIN
# define Q_DECL_EXPORT __declspec(dllexport)
-# elif defined(Q_CC_NOKIAX86)
+# elif defined(Q_CC_NOKIAX86) || defined(Q_CC_RVCT)
# define Q_DECL_EXPORT __declspec(dllexport)
# elif defined(QT_VISIBILITY_AVAILABLE)
# define Q_DECL_EXPORT __attribute__((visibility("default")))
@@ -1130,7 +1130,7 @@ class QDataStream;
#ifndef Q_DECL_IMPORT
# if defined(Q_OS_WIN)
# define Q_DECL_IMPORT __declspec(dllimport)
-# elif defined(Q_CC_NOKIAX86)
+# elif defined(Q_CC_NOKIAX86) || defined(Q_CC_RVCT)
# define Q_DECL_IMPORT __declspec(dllimport)
# else
# define Q_DECL_IMPORT