From: Manuel Nickschas Date: Mon, 24 Mar 2014 20:00:44 +0000 (+0100) Subject: Can't forward-declare meta types in Qt5 X-Git-Tag: 0.11.0~80 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=2f692b299eded9386fdee3e7a13727d95bbe2495;hp=40601ae070413b727a68e35e5b8c619176c661b1 Can't forward-declare meta types in Qt5 --- diff --git a/src/common/types.h b/src/common/types.h index c9891231..290d53f6 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -29,8 +29,9 @@ #include #include +#include "peer.h" + // We need to special-case Peer* in attached signals/slots, so typedef it for the meta type system -class Peer; typedef Peer * PeerPtr; Q_DECLARE_METATYPE(PeerPtr)