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

Reply via email to