Windows build dies if QMQTT isn't set to statically link. This should

fix that.
This commit is contained in:
Collin Kidder
2020-08-16 18:57:02 -04:00
parent 4887ac8e62
commit df1ef510da
+9 -9
View File
@@ -34,15 +34,15 @@
#include <QtGlobal>
#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