[Qbs] dump-nodes-tree broken?

Christian Kandeler Christian.Kandeler at qt.io
Wed Jul 17 15:50:17 CEST 2019


On Thu, 18 Jul 2019 00:26:50 +1200
Christian Gagneraud <chgans at gmail.com> wrote:

> On Wed, 17 Jul 2019 at 23:52, Christian Kandeler
> <Christian.Kandeler at qt.io> wrote:
> >
> > On Wed, 17 Jul 2019 23:41:54 +1200
> > Christian Gagneraud <chgans at gmail.com> wrote:
> >  
> > > 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?  
> >
> > You need to built first. The nodes are not known in advance.  
> 
> Ahhh! Thanks, it works now.
> That's weird really, the build graph is on disk, and this tool 'Dumps
> the nodes in the build graph to \c stdout.'.

Yes, the nodes. As in "rule nodes and artifact nodes". It's a debugging tool.

> I was expecting this tool to simply pretty-print the build graph
> file.Is there a way to achieve that?

No.


Christian


More information about the Qbs mailing list