qbs build: Do not use relative paths in Export items

Those will be interpreted relative to the importing product in the
future.

Change-Id: I57f6159053acf1e0334d3289de1f93545e2e871b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2024-07-08 15:16:55 +02:00
parent 028f27781f
commit 332db8de18
6 changed files with 10 additions and 7 deletions

View File

@@ -46,6 +46,6 @@ QtcProduct {
Export {
Depends { name: "cpp" }
Depends { name: "ExtensionSystem" }
cpp.includePaths: ".."
cpp.includePaths: exportingProduct.sourceDirectory + "/.."
}
}

View File

@@ -30,6 +30,6 @@ QtcLibrary {
Export {
Depends { name: "cpp" }
cpp.includePaths: "include"
cpp.includePaths: exportingProduct.sourceDirectory + "/include"
}
}

View File

@@ -396,8 +396,8 @@ QtcLibrary {
Export {
cpp.includePaths: [
".",
"./qtserialization/inc"
exportingProduct.sourceDirectory,
exportingProduct.sourceDirectory + "/qtserialization/inc"
]
}
}

View File

@@ -14,7 +14,7 @@ QtcLibrary {
Export {
Depends { name: "cpp" }
cpp.includePaths: ".."
cpp.includePaths: exportingProduct.sourceDirectory + "/.."
}
}

View File

@@ -22,7 +22,10 @@ QtcLibrary {
Export {
Depends { name: "cpp" }
cpp.includePaths: ["..", "../.."]
cpp.includePaths: [
exportingProduct.sourceDirectory + "/..",
exportingProduct.sourceDirectory + "/../.."
]
}
}

View File

@@ -475,6 +475,6 @@ QtcLibrary {
Export {
Depends { name: "Qt"; submodules: ["concurrent", "widgets" ] }
Depends { name: "Tasking" }
cpp.includePaths: "mimetypes2"
cpp.includePaths: exportingProduct.sourceDirectory + "/mimetypes2"
}
}