Windows build dies if QMQTT isn't set to statically link. This should
fix that.
This commit is contained in:
+9
-9
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user