diff options
-rw-r--r-- | qbs-resources/imports/QbsApp.qbs | 3 | ||||
-rw-r--r-- | qbs-resources/imports/QbsAutotest.qbs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/qbs-resources/imports/QbsApp.qbs b/qbs-resources/imports/QbsApp.qbs index a6a53048e..f252b336c 100644 --- a/qbs-resources/imports/QbsApp.qbs +++ b/qbs-resources/imports/QbsApp.qbs @@ -1,4 +1,5 @@ import qbs +import qbs.FileInfo QbsProduct { Depends { name: "qbscore" } @@ -17,7 +18,7 @@ QbsProduct { } Group { name: "logging" - prefix: "../shared/logging/" + prefix: FileInfo.joinPaths(product.sourceDirectory, "../shared/logging") + '/' files: [ "coloredoutput.cpp", "coloredoutput.h", diff --git a/qbs-resources/imports/QbsAutotest.qbs b/qbs-resources/imports/QbsAutotest.qbs index e44429a69..66e076677 100644 --- a/qbs-resources/imports/QbsAutotest.qbs +++ b/qbs-resources/imports/QbsAutotest.qbs @@ -1,4 +1,5 @@ import qbs +import qbs.FileInfo QtApplication { type: ["application", "autotest"] @@ -13,7 +14,7 @@ QtApplication { destinationDirectory: "bin" Group { name: "logging" - prefix: "../../../src/app/shared/logging/" + prefix: FileInfo.joinPaths(product.sourceDirectory, "../../../src/app/shared/logging") + '/' files: [ "coloredoutput.cpp", "coloredoutput.h", |