[Qbs] Depending on item with dynamic name

resurrection at centrum.cz resurrection at centrum.cz
Thu Oct 12 08:26:42 CEST 2017


Hi,
is there a way do depend on a product with dynamically generated name? Via id prehaps or some other identifier?
 
E.g.:
 
import qbs
import qbs.FileInfo
 
Project
{
    Product
    {
        name: FileInfo.baseName(sourceDirectory)
    }
    Product
    {
        Depends { name: "???" }
    }
}
 
Is there a way to depend on the first product in the second one?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20171012/33fe0970/attachment.html>


More information about the Qbs mailing list