Am 01.08.2016 um 09:20 schrieb Christian Kandeler:
On 07/29/2016 09:05 PM, Dennis Tomas wrote:
Rule {
    property string fileName: "resources"
    multiplex: true
    Artifact {
        filePath: baseName + ".qrc" // ReferenceError
        fileTags: ["qrc"]
    }
    prepare: {
[...]
    }
}

I get a ReferenceError as marked above. Is there a way to somehow
reference baseName from the Artifact's filePath property?

Have you tried parent.baseName?

Yes, this also results in a ReferenceError. I've also tried setting 'id: rule' on the rule and referencing 'rule.baseName' in the Artifact, leading to a ReferenceError as well.
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to