> Sent: Wednesday, February 22, 2017 at 2:33 PM > From: "Alexander Dyagilev" <alervd...@gmail.com> > To: "interest@qt-project.org" <interest@qt-project.org> > Subject: [Interest] QObject::connect returns true, but the connection does > not work > > Why? > > emit is called; slot is NOT called. > > I use QSharedPointer<MyDataType> in slot/signal. > > MyDataType is a struct declared as metatype.
Generally when this happens, it means you didn't connect the signal to the slot from the instance you though to the receiver that you thought. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest