Move Q_DECL_EXPORT / IMPORT into qzeroconfglobal.h

This commit is contained in:
Jonathan Bagg
2017-10-31 20:30:42 -04:00
parent bf2f5b8742
commit 00be205f0f
4 changed files with 47 additions and 16 deletions

View File

@@ -30,19 +30,9 @@
#include <QObject>
#include <QHostAddress>
#include <QMap>
#include <QtCore/QtGlobal>
#include "qzeroconfglobal.h"
#include "qzeroconfservice.h"
#if (!defined(QT_STATIC) && !defined(QZEROCONF_STATIC))
# ifdef QT_BUILD_ZEROCONF_LIB
# define Q_ZEROCONF_EXPORT Q_DECL_EXPORT
# else
# define Q_ZEROCONF_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_ZEROCONF_EXPORT
#endif
class QZeroConfPrivate;
class Q_ZEROCONF_EXPORT QZeroConf : public QObject