List qmake project files in qbs project

Change-Id: Ib0c68398ce80e1de2ee6a2e4385ffd38baec0bd2
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Kandeler
2016-08-19 16:11:44 +02:00
parent af91d73a1c
commit bb02a0900f

View File

@@ -35,6 +35,19 @@ Project {
}
}
Product {
name: "qmake project files"
files: {
var list = ["**/*.pr[io]"];
var props = [additionalPlugins, additionalLibs, additionalTools, additionalAutotests];
for (var i = 0; i < props.length; ++i) {
for (var j = 0; j < props[i].length; ++j)
list.push(props[i][j] + "/**/*.pr[io]");
}
return list;
}
}
AutotestRunner {
Depends { name: "Qt.core" }
Depends { name: "qtc" }