[Development] Wishes for C++ standard or compilers

Thiago Macieira thiago.macieira at intel.com
Sun Mar 19 19:51:47 CET 2017


On domingo, 19 de março de 2017 02:24:56 PDT Olivier Goffart wrote:
> But because QMetaType was historically made for QueuedConnection, it needs
> the name, and so needs to be declared or registered with
> Q_DECLARE_METATYPE/ qRegisterMetaType.  But the truth is that we could get
> rid of both already with what C++98. moc could generate the code that
> register the name for the signal arguments (it already does for some type,
> but that could be extended to all types).  QMetaTypeid::name() would not
> work for every type but that's not so important.

The name is necessary for compatiblity iwth other languages.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list