From 0b31635a3273d36e3b122cc0b1e9de837bba8f7b Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 30 Jun 2015 14:17:31 +0200 Subject: [PATCH] qbs project files: Qualify access to product properties in Export items. Such items behave "module-like" and one should therefore not count on them having access to the scope of their parent item. Change-Id: I8a323ae31218c6b1ee721ffaa65c04ccf08943bc Reviewed-by: Joerg Bornemann --- qbs/imports/QtcLibrary.qbs | 2 +- qbs/imports/QtcPlugin.qbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qbs/imports/QtcLibrary.qbs b/qbs/imports/QtcLibrary.qbs index a4fc14bdd68..93b60110582 100644 --- a/qbs/imports/QtcLibrary.qbs +++ b/qbs/imports/QtcLibrary.qbs @@ -27,6 +27,6 @@ QtcProduct { Export { Depends { name: "cpp" } - cpp.includePaths: [libIncludeBase] + cpp.includePaths: [product.libIncludeBase] } } diff --git a/qbs/imports/QtcPlugin.qbs b/qbs/imports/QtcPlugin.qbs index a103f485728..6bbe1efcaa3 100644 --- a/qbs/imports/QtcPlugin.qbs +++ b/qbs/imports/QtcPlugin.qbs @@ -52,6 +52,6 @@ QtcProduct { Export { Depends { name: "ExtensionSystem" } Depends { name: "cpp" } - cpp.includePaths: [pluginIncludeBase] + cpp.includePaths: [product.pluginIncludeBase] } }