[Interest] slot receives invalid pointer

Alexander Dyagilev alervdvcw at gmail.com
Thu Mar 30 14:33:55 CEST 2017


oops it was my fault, sorry.


On 3/30/2017 3:13 PM, Alexander Dyagilev wrote:
> Hello,
>
> I use libtorrent.
>
> It has libtorrent::alert structure defined in it (it's a base 
> structure for all the derived alerts).
>
> I declare metatype
>
> Q_DECLARE_METATYPE(libtorrent::alert*)
>
> and register it
>
> qRegisterMetaType<libtorrent::alert*>("libtorrent::alert*")
>
> The problem is that sometimes (not always) slot receives invalid pointer.
>
> E.g. emitted: 0xe435108
> received in slot: 0xe4350a8.
>
> Sounds like some MOC problem is here...
>
> Any ideas?
>
>




More information about the Interest mailing list