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 <[email protected]> пише:

> 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.
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to