[Interest] slot receives invalid pointer
Alexander Dyagilev
alervdvcw at gmail.com
Thu Mar 30 14:13:03 CEST 2017
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