summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2010-07-14 06:07:40 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2010-08-06 12:57:12 (GMT)
commitd8ecf6b6f6b6c0f532a4c9f25bcd36e808dc0d2a (patch)
tree6f21839fca03529e3f24a89c3652c482fbdec82f
parentdf6549d1b95af017305744af04a7bb3b10025660 (diff)
downloadQt-d8ecf6b6f6b6c0f532a4c9f25bcd36e808dc0d2a.zip
Qt-d8ecf6b6f6b6c0f532a4c9f25bcd36e808dc0d2a.tar.gz
Qt-d8ecf6b6f6b6c0f532a4c9f25bcd36e808dc0d2a.tar.bz2
Fix some broken exports in dbus.
QT_SHARED is only defined when the Qt modules is built...
-rw-r--r--src/dbus/qdbusmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusmacros.h b/src/dbus/qdbusmacros.h
index 693a350..f110ff6 100644
--- a/src/dbus/qdbusmacros.h
+++ b/src/dbus/qdbusmacros.h
@@ -48,7 +48,7 @@
#if defined(QDBUS_MAKEDLL)
# define QDBUS_EXPORT Q_DECL_EXPORT
-#elif defined(QT_SHARED)
+#elif defined(QT_SHARED) || defined(QT_DLL)
# define QDBUS_EXPORT Q_DECL_IMPORT
#else
# define QDBUS_EXPORT