Missing includes

Lorenzo Bertini lorenzobertini97 at gmail.com
Mon Nov 18 15:15:30 UTC 2024


>From my understanding, this is a standard Qt practice but a
semi-non-standard C++ practice. On a forum someone said that all files you
include should be ".h" or ".hpp" and meson is picky about this. Notable
project that use this technique (which should save some compile time) are
Qt and SQLite (which groups everything into one huge cpp file).

Lorenzo

Il giorno lun 18 nov 2024 alle ore 16:11 Jean-Marc Lasgouttes <
lasgouttes at lyx.org> ha scritto:

> Le 18/11/2024 à 15:51, Pavel Sanda a écrit :
> > On Mon, Nov 18, 2024 at 02:26:03PM +0100, Lorenzo Bertini wrote:
> >> and are named moc_<name>.cpp. They are then included in <name>.cpp with
> >> #include "moc_<name>.cpp".
> >
> > Ah, right. P
>
> Is this a standard Qt practice? If yes, meson should have some support
> for it (I see there is a qt6 module).
>
> JMarc
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> https://lists.lyx.org/mailman/listinfo/lyx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20241118/a85830ec/attachment-0001.htm>


More information about the lyx-devel mailing list