[Qbs] How do I use Parameter property in a module itself?

Иван Комиссаров abbapoh at gmail.com
Mon Jun 10 17:59:25 CEST 2019


I’d like to do something like this:

Module {
    Parameter { property bool useFeature: false }

    Probes.BinaryProbe {
        condition: useFeature
    }
}

So I’d be able to write:

Depends { name: "mymodule"; useFeature: true; }






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


More information about the Qbs mailing list