I think You can use the Probe item for that purpose. https://doc.qt.io/qbs/qml-qbslanguageitems-probe.html
You would combine it with Process service. Search for gitProbe in the following file to get inspired: https://github.com/qbs/qbs/blob/master/share/qbs/modules/vcs/vcs-module.qbs Richard On Friday, 9 November 2018, Christian Gudrian wrote: > Am 09.11.2018 um 12:38 schrieb Christian Kandeler: > > I'm afraid I don't understand this. Can you elaborate? In particular, > > what do you mean by "directory that contains the current git branch"? > Given a working copy of the branch "v1.0" I would like Qbs to prefix all > installation paths with "v1.0/". > > Christian > _______________________________________________ > Qbs mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qbs _______________________________________________ Qbs mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qbs
