On Wed, 20 May 2020 at 22:39, Christian Gagneraud <chg...@gmail.com> wrote:
> I understand the cons arguments, and i agree with that, this should be
> under user's control.
>
> A variation could be:
>
> property bool useSystemInclude = name === "Qt.core" ? false :
> Qt.core.useSystemInclude
> Properties {
>    condition: useSystemInclude
>    cpp.systemIncludePath: ...
> }
> Properties {
>    condition: !useSystemInclude
>    cpp.includePath: ...
> }
>
> Could it be as simple as that?

I've tried that on Qt.core (w/o name === "Qt.core"), and it works just fine.
Looks like another PR is awaiting me! :)
If people are willing to accept that.

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

Reply via email to