[Qbs] How to get the full dependency name in a ModuleProvider?

Alberto Mardegan mardy at users.sourceforge.net
Fri Jul 31 08:28:17 CEST 2020


Adding one more question, to make sure I do not misunderstand the role 
of a ModuleProvider:

Il 30.07.2020 23:32, Alberto Mardegan ha scritto:
>    I started playing with ModuleProvider, and I find the "name" property 
> a bit confusing: if the dependency was specified as
> 
>      Depends { name: "myprovider.a" }
> 
> the the module provider in "module-providers/myprovider/provider.qbs" 
> only sees "myprovider" as "name" property -- the "a" is lost.

why does the ModuleProvider name contain a piece of data which is anyway 
known to the ModuleProvider (because it's anyway encoded in its file 
path)? What is the point of this property?

Ciao,
   Alberto


More information about the Qbs mailing list