Commit c32ef98c authored by Christian Kandeler's avatar Christian Kandeler

qbs build: Don't use relative paths in product parent items

We should be explicit about where we assume the source files to be. The
base directory might change in the future.

Change-Id: Ifd53c2586f5c67a72ed928130647083d467a3e30
Reviewed-by: Jake Petroules's avatarJake Petroules <jake.petroules@qt.io>
parent c8bb93de
import qbs
import qbs.FileInfo
Product {
builtByDefault: false
......@@ -11,6 +12,7 @@ Product {
Group {
name: "main qdocconf file"
prefix: product.sourceDirectory + '/'
files: [mainDocConfFile]
fileTags: ["qdocconf-main"]
}
......
......@@ -50,12 +50,14 @@ QtcProduct {
Group {
name: "PluginMetaData"
prefix: product.sourceDirectory + '/'
files: [ product.name + ".json.in" ]
fileTags: ["pluginJsonIn"]
}
Group {
name: "MimeTypes"
prefix: product.sourceDirectory + '/'
files: [ "*.mimetypes.xml" ]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment