[Qbs] Graphviz export/generator
chgans at gmail.com
Sun Jul 21 05:32:37 CEST 2019
I would like to be able to export a (graphviz) graph of a project and
i'm thinking about writing a new ProjectGenerator plugin for that.
The first kind of graph would be a product dependency graph.
Once i have access to the top level resolved project, AFAIU, the rest
should be easy. As i can access all resolved products, and resolved
products have a list of resolved product "dependencies".
ProjectGenerator are executed after the project is resolved, good, but
the API doesn't give access to the TopLevelProjectPtr, which seems to
be my only available entry point.
Any idea on how to tackle that? What would be the less intrusive API
change that would allow RO access to build/graph dependency data from
the generator plugins?
More information about the Qbs