From d8ecf6b6f6b6c0f532a4c9f25bcd36e808dc0d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Arve=20S=C3=A6ther?= Date: Wed, 14 Jul 2010 08:07:40 +0200 Subject: Fix some broken exports in dbus. QT_SHARED is only defined when the Qt modules is built... --- src/dbus/qdbusmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12