diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-08-27 12:50:33 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-09-04 07:11:36 +0000 |
commit | be637305226049fbe4d09a435292c1034ee66312 (patch) | |
tree | c4367b089377e53e8e45b3aedb41b8760dece7be /tests | |
parent | 58219e2d386a799cb89bf54a22386737614d31b0 (diff) |
Filter references to importingProduct from exported list properties
It's just a heuristic, because we don't have access to single elements
of JS arrays, but it should cover the most common cases.
Change-Id: I02f9ff215394d108f7ba52662eff7b4f5e8e1a62
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs b/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs index 48de6d48a..96d1cabb9 100644 --- a/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs +++ b/tests/auto/blackbox/testdata/exports-pkgconfig/exports-pkgconfig.qbs @@ -92,8 +92,13 @@ Project { Depends { name: "TheFirstLib" } Depends { name: "dummy" } Depends { name: "cpp" } - cpp.includePaths: ["/opt/thesecondlib/include", product.sourceDirectory] + cpp.includePaths: [ + "/opt/thesecondlib/include", + product.sourceDirectory, + importingProduct.buildDirectory + ] property string hurz: importingProduct.name + cpp.defines: hurz.toUpperCase() Rule { property int n: 5 |