Q_DECL_IMPORT was being triggered when QZeroConf was build statically into another project

This commit is contained in:
Jonathan Bagg
2017-03-14 13:21:34 -04:00
parent 7e94a5f75a
commit 9a6235509c
3 changed files with 6 additions and 1 deletions

View File

@ -32,7 +32,7 @@
#include <QMap>
#include <QtCore/QtGlobal>
#ifndef QT_STATIC
#if (!defined(QT_STATIC) && !defined(QZEROCONF_STATIC))
# ifdef QT_BUILD_ZEROCONF_LIB
# define Q_ZEROCONF_EXPORT Q_DECL_EXPORT
# else