aboutsummaryrefslogtreecommitdiffstats
path: root/qbs-resources
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2018-07-12 14:03:30 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2018-07-12 13:03:35 +0000
commit55e1e722291fc146bad29176aeb25bac3b65b3a0 (patch)
tree68dd020d6ef8659e31bd03cd3510c08d3e2edfe5 /qbs-resources
parent20e4b95fbe8ea23ce39195c63b6b8294eef7b0ee (diff)
Remove qbs 1.9 compatibility code from qbsbuildconfig
Since commit 33a0c11a5f this hack isn't even used when building with qbs < 1.10. Change-Id: I48a7819ed9acd2cdaa2fa820c4c1121abcff27dc Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs-resources')
-rw-r--r--qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs10
1 files changed, 0 insertions, 10 deletions
diff --git a/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs b/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs
index 0627a5cf9..a4bb3aef1 100644
--- a/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs
+++ b/qbs-resources/modules/qbsbuildconfig/qbsbuildconfig.qbs
@@ -37,16 +37,6 @@ Module {
}
property stringList libRPaths: {
if (enableRPath && rpathOrigin && product.targetInstallDir) {
- if (!FileInfo.cleanPath) {
- // qbs < 1.10 compatibility
- FileInfo.cleanPath = function (a) {
- if (a.endsWith("/."))
- return a.slice(0, -2);
- if (a.endsWith("/"))
- return a.slice(0, -1);
- return a;
- }
- }
return [FileInfo.joinPaths(rpathOrigin, FileInfo.relativePath(
FileInfo.joinPaths('/', product.targetInstallDir),
FileInfo.joinPaths('/', libDirName)))];