From df1ef510da5c08bfc73bd349da0efa82e54e2e93 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Sun, 16 Aug 2020 18:57:02 -0400 Subject: [PATCH] Windows build dies if QMQTT isn't set to statically link. This should fix that. --- mqtt/qmqtt_global.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mqtt/qmqtt_global.h b/mqtt/qmqtt_global.h index d633168..07e8447 100644 --- a/mqtt/qmqtt_global.h +++ b/mqtt/qmqtt_global.h @@ -34,15 +34,15 @@ #include -#ifndef QT_STATIC -# if defined(QT_BUILD_QMQTT_LIB) -# define Q_MQTT_EXPORT Q_DECL_EXPORT -# else -# define Q_MQTT_EXPORT Q_DECL_IMPORT -# endif -#else -# define Q_MQTT_EXPORT -#endif +//#ifndef QT_STATIC +//# if defined(QT_BUILD_QMQTT_LIB) +//# define Q_MQTT_EXPORT Q_DECL_EXPORT +//# else +//# define Q_MQTT_EXPORT Q_DECL_IMPORT +//# endif +//#else +#define Q_MQTT_EXPORT +//#endif #endif // QMQTT_GLOBAL_H