[QBS] multiple AutoTestRunner problem

Stephan Gatzka stephan.gatzka at gmail.com
Sat Aug 15 14:10:07 CEST 2015

Hi again!

I have to different directories with qbs files to build and run unit tests.
In both files the Project has an AutotestRunner { }. I can correctly build
and run these single qbs file.

Now I have a top level product that shall build an run all tests:

Project {
  name: "all tests"
  minimumQbsVersion: "1.4.0"

  SubProject {
    filePath: "src/tests/test.qbs"

  SubProject {
    filePath: "src/linux/tests/test.qbs"

qbs (correctly) complains with "Duplicate product name 'autotest-runner'".

I there a correct way to do for this scenario?



More information about the Qbs mailing list