Details
Description
I don't know how to describe it, but I can sure it's works fine in Qbs 1.6.x.
and It's broken QtCreator 4.2.x Qbs build system.
Please see the example, the install dir is expected to be "qtcreatorcdbext64", but now it's "undefined64".
import qbs Project { name: "testqbs" minimumQbsVersion: "1.7.1" CppProgram { name: "qtcreatorcdbext" targetName: name files: [ "main.cpp", ] installDir: { var dirName = name; // !!!!!!!!!!!!$%$#$@# change to 'parent.name' works well if (qbs.architecture.contains("x86_64")) dirName += "64"; else dirName += "32"; return dirName; } Group { fileTagsFilter: product.type qbs.installDir: installDir qbs.install: true } } }