src/dbus/qdbusmacros.h
changeset 25 e24348a560a6
parent 18 2f34d5167611
child 30 5dc02b23752f
--- a/src/dbus/qdbusmacros.h	Thu May 27 13:40:48 2010 +0300
+++ b/src/dbus/qdbusmacros.h	Fri Jun 11 14:24:45 2010 +0300
@@ -48,8 +48,10 @@
 
 #if defined(QDBUS_MAKEDLL)
 # define QDBUS_EXPORT Q_DECL_EXPORT
+#elif defined(QT_SHARED)
+# define QDBUS_EXPORT Q_DECL_IMPORT
 #else
-# define QDBUS_EXPORT Q_DECL_IMPORT
+# define QDBUS_EXPORT
 #endif
 
 #ifndef Q_MOC_RUN