> On 11 Sep 2020, at 12:37, Allan Sandfeld Jensen <[email protected]> wrote:
> 
> Should we add a generic virtual hook in qobject, so any qobject can expand 
> their with effectively virtual functions in Qt6?
> 
> I imagine something like QVariant QObject::virtual_hook(int id, QVariant 
> args);
> 
> Or do we already have other useful work-arounds for this common problem?
> 
> Best regards
> ‘Allan

We have that already. It’s called qt_metacall :)

Cheers,
Volker

_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to