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> #include <QtGlobal>
#ifndef QT_STATIC //#ifndef QT_STATIC
# if defined(QT_BUILD_QMQTT_LIB) //# if defined(QT_BUILD_QMQTT_LIB)
# define Q_MQTT_EXPORT Q_DECL_EXPORT //# define Q_MQTT_EXPORT Q_DECL_EXPORT
# else //# else
# define Q_MQTT_EXPORT Q_DECL_IMPORT //# define Q_MQTT_EXPORT Q_DECL_IMPORT
# endif //# endif
#else //#else
# define Q_MQTT_EXPORT #define Q_MQTT_EXPORT
#endif //#endif
#endif // QMQTT_GLOBAL_H #endif // QMQTT_GLOBAL_H