[Qbs] dump-nodes-tree broken?

Christian Gagneraud chgans at gmail.com
Wed Jul 17 13:50:38 CEST 2019

On Wed, 17 Jul 2019 at 23:41, Christian Gagneraud <chgans at gmail.com> wrote:
> Hi there,
> I'm trying to use dump-nodes-tree with qbs 1.13.1 (from QtC), and i
> get nothing except a message 'Restoring build graph from disk'.
> I've tried 'qbs dump-nodes-tree' and 'qbs dump-nodes-tree -p
> qtcreator', still the same..
> Is there any special things that need to be done prior using it? Is it
> actually broken?
> PS: I've never used this tool before.
> Using the debugger, i can see that NodeTreeDumper::start() loops on
> all the product, but not on the 'artifacts',
> p->buildData->rootArtifacts() returns nothing.

Actually TypeFilter<Artifact> is constructed with non-empty m_roots,
but it seems the iterator is broken.

> Any idea what i'm doing wrong?
> Thanks,
> Chris

More information about the Qbs mailing list