[Development] qdoc help needed: it isn't seeing a function that is clearly there

Thiago Macieira thiago.macieira at intel.com
Tue Jul 26 00:21:34 CEST 2022


On Monday, 25 July 2022 13:28:58 PDT Volker Hilsheimer wrote:
> \fn int QMetaType::qRegisterMetaType(QMetaType meta)
> 
> This is misleading in this case, and outright invalid C++ in case of
> operators as hidden friends, but it works with the latter, and I expect it
> will make it work with this as well.

That's messed up.

I guess simply pre-declaring the function above the class so it's not a hidden 
friend helps.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering





More information about the Development mailing list