On 5/15/22 19:27, Карелин Павел wrote:
A new question has appeared: the list of libraries in the product can be
changed. See "lib.libmod.dynamicLibraries" in the product.qbs, line 13. The
adjusted list will not be included in the rule. It can be fixed?
That's because you access the dynamicLibraries property via the module
id, which is a file-scope thing. Don't ever use ids, except for Probes.
Instead, access the property via the product variable:
product.lib.modlib.dynamicLibraries.
In passing, one more question: the libmod.qbs file does not appear in the
project tree in QtC.
It does, in the last tree branch, "Qbs files".
Note that in your attached project, qbssearchPaths is missing, so if
that worked on your system, then the library might have been pulled in
from somewhere else, such as a global search path.
Christian
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs