On Wed, Feb 15, 2017 at 3:17 PM, Alexander Dyagilev <[email protected]>
wrote:

> One has to write all these includes in every header file. Again and
> again... :(
>
>
That's the correct practice. Else you are just putting back the pain to the
inevitable day where you encounter a bug in the PCH mechanism which forces
you to disable it, or when using a compiler that does not handle PCH.

You can use Include what you use (https://include-what-you-use.org/) that
will automatically try to add the correct header.

Best
Jean-Michaël
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to