[Interest] Qt Creator does not "see" precompiled header

Jean-Michaël Celerier jeanmichael.celerier at gmail.com
Wed Feb 15 17:06:30 CET 2017


On Wed, Feb 15, 2017 at 3:17 PM, Alexander Dyagilev <alervdvcw at gmail.com>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170215/8beb56af/attachment.html>


More information about the Interest mailing list