From 8c19d93829fc80c36bcec748756fa4c178183a40 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Sun, 16 Mar 2014 08:15:07 -0400 Subject: [PATCH] don't use Q_OBJECT macro if we aren't using any signals/slots --- interface.h | 3 ++- neighbor.h | 3 ++- wireless.h | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/interface.h b/interface.h index e237cc9..97ddede 100644 --- a/interface.h +++ b/interface.h @@ -5,7 +5,8 @@ #include "libip_global.h" class LIBIP_EXPORT Interface : public QObject { -Q_OBJECT +//Q_OBJECT +// no Q_OBJECT macro here because clang linker complains about missing vtable, probably because we aren't using any signals/slots public: Interface(QString interface); diff --git a/neighbor.h b/neighbor.h index 2b80abc..914295e 100644 --- a/neighbor.h +++ b/neighbor.h @@ -6,7 +6,8 @@ #include "libip_global.h" class LIBIP_EXPORT Neighbor : public QObject { -Q_OBJECT +//Q_OBJECT +// no Q_OBJECT macro here because clang linker complains about missing vtable, probably because we aren't using any signals/slots public: Neighbor(QString interface = QString()); diff --git a/wireless.h b/wireless.h index 2f4f4bc..2ace783 100644 --- a/wireless.h +++ b/wireless.h @@ -7,7 +7,8 @@ #include class LIBIP_EXPORT Wireless : public QObject { -Q_OBJECT +//Q_OBJECT +// no Q_OBJECT macro here because clang linker complains about missing vtable, probably because we aren't using any signals/slots public: Wireless(QString interface = QString());