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 } } }
Attachments
For Gerrit Dashboard: QBS-1117 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196084,2 | Add failing autotest for QBS-1117 | 1.8 | qbs/qbs | Status: MERGED | +2 | 0 |
196339,2 | Fix lookup of shadowed parent properties | 1.8 | qbs/qbs | Status: MERGED | +2 | 0 |