[Development] Automatic signal-slot statistics
Taras Kushnir
kushnirtv at gmail.com
Wed Aug 8 12:04:14 CEST 2018
OK, now it's clear. I will try it out and report if that worked.
Thanks for your help!
ср, 8 серп. 2018 о 09:52 Olivier Goffart <olivier at woboq.com> пише:
> On 2018-08-08 08:48, Taras Kushnir wrote:
> > Hi Olivier
> >
> > Thanks for fast response.
> >
> > Sorry for asking trivial questions but I didn’t quite understand about
> “redeclaring” things in my project.
> >
> > As far as I understand all I need to do is pass an instance of
> [QSignalSpyCallbackSet] struct with my custom callbacks to
> [qt_register_signal_spy_callbacks], isn’t it? Can you please clarify
> “redeclaring”?
>
> That's right, you just need to pass an instance of QSignalSpyCallbackSet.
>
> Since you can't #include <qobject_p.h> as it is a private header, you can
> just
> re-declare the relevant symbols. If you can include private headers, then
> simply include qobject_p.h.
>
> --
> Olivier
>
--
Best regards,
Taras Kushnir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180808/dd4cf2f6/attachment.html>
More information about the Development
mailing list