On Wednesday, 2 November 2022 07:25:25 PDT Marc Mutz via Development wrote:
>    QT_GUARD_INCLUDE_OF_<module>_<subdir>_<header>
> 
> Example:
> 
>    QT_GUARD_INCLUDE_OF_QTCORE_IO_QIODEVICE_H

We don't need to make it THAT verbose. But inserting the module name makes 
sense, because the "official" include is <QtModule/header.h>.

I'd also suggest we shouldn't have two header.h in any of our modules, to make 
sure that if someone did #include <header.h>, they wouldn't get wrong the 
wrong one, ever.

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



_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to