<font size="2"><font face="tahoma,sans-serif"><br></font></font><br><div class="gmail_quote">On Tue, Oct 12, 2010 at 2:58 AM, Argyrios Kyrtzidis <span dir="ltr"><<a href="mailto:kyrtzidis@apple.com">kyrtzidis@apple.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Qt uses gcc's PCH directory, where various PCH files (for different languages) are all emitted in a common 'precompiled_header.gch' directory and if you do<br>


"-include precompiled_header.h"<br>
all PCH files are considered in alphabetical order and the first suitable one is used.<br>
<br>
Do we want to support that ? It is complicated in our current architecture.<br>
<br>
A simpler way would be, when adding support for clang compiler in Qt's build system, to inform Qt about clang's PCH way.<br>
That would just need a '-include-pch' driver option so that Qt can just pass the PCH file that should be used (currently I "simulate" this using -Xclang -include-pch -Xclang filename).<br></blockquote><div>

<br></div><div>Just adding a clang specific mkspec to Qt sounds like a better idea.</div><div><br></div><div>Regards,</div><div>ismailĀ </div></div>