aboutsummaryrefslogtreecommitdiffstats
path: root/qbs-resources
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-07-24 15:16:37 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-07-28 08:52:45 +0000
commit9ef620911514287ed7fd84604f2b8c95295fffe8 (patch)
treebd6f9a57c4494d0cee8655661f83bf6d42bbf6d0 /qbs-resources
parentf151e663ad2fcb554f1c8737724080c757f6108e (diff)
Don't advertise using relative paths in export items.
While we do support this for compatibility reasons, let's not encourage it. Change-Id: I4856b021b2e309e35974af68fe4dc10954d3d451 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'qbs-resources')
-rw-r--r--qbs-resources/imports/QbsLibrary.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs-resources/imports/QbsLibrary.qbs b/qbs-resources/imports/QbsLibrary.qbs
index 02c7fef66..4d05ea004 100644
--- a/qbs-resources/imports/QbsLibrary.qbs
+++ b/qbs-resources/imports/QbsLibrary.qbs
@@ -23,7 +23,7 @@ QbsProduct {
Depends { name: "cpp" }
Depends { name: "Qt"; submodules: ["core"] }
cpp.rpaths: project.libRPaths
- cpp.includePaths: "."
+ cpp.includePaths: [product.sourceDirectory]
cpp.defines: product.type === "staticlibrary" ? ["QBS_STATIC_LIB"] : []
}
}