On Wed, 20 May 2020 22:11:20 +1200
Christian Gagneraud <chg...@gmail.com> wrote:

> Couldn't find any definite answer about using '-isystem' to avoid the
> compiler to report warning as error in 3rd party headers (qt, gtest,
> ...).
> Looking at the cpp module, i can see some logic, but I can't seem to
> find a way to force the use of isystem.
> The only suggestion I found was to hack Qt's modules to change
> cpp.includePath to  cpp.systemIncludePath.
> 
> Is this still the case, or am i missing something?

Not sure what you mean. Use cpp.systemIncludePaths for things under
your control. For Qt, the respective patch was rejected for some strange
reason; see https://codereview.qt-project.org/c/qbs/qbs/+/90492.


Christian
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs

Reply via email to