Details
-
Bug
-
Resolution: Done
-
P2: Important
-
1.13.0, 1.16.0
-
None
-
-
1e713049134f1826c69ac14a97c9a602c24f3399 (qbs/qbs/1.17)
Description
Setting properties on a ModuleProvider from within a Product does not work, if the value being assigned is a variable. Runnin QBS on tests/auto/blackbox/testdata/module-providers/module-providers.qbs also fails:
~/src/git/qbs/tests/auto/blackbox/testdata/module-providers$ qbs Build graph does not yet exist for configuration 'default'. Starting from scratch. Resolving project for configuration default Running setup script for mygenerator Running setup script for othergenerator ERROR: /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:9:5 Error while handling product 'app1': /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:14 Can't find variable: project /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:12:9 Dependency 'mygenerator.module2' not found for product 'app1'. /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:14 Can't find variable: project
It looks like the module-providers test is not run by the CI.
Attachments
For Gerrit Dashboard: QBS-1587 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
309154,1 | doc: Specify what variables are available to a ModuleProvider | master | qbs/qbs | Status: ABANDONED | 0 | -1 |
309321,2 | ModuleLoader: Fix scope for RHS of module provider property bindings | 1.17 | qbs/qbs | Status: MERGED | +2 | +1 |