[Qt-creator] Problems with wizard.json regarding resolution of variables

Hunger Tobias Tobias.Hunger at theqtcompany.com
Thu Feb 25 13:03:33 CET 2016


On Do, 2016-02-25 at 10:05 +0100, Stefan wrote:
> What is the difference in using wizard.json resp. wizard.xml?

A lot:-)

There is e.g. no %ProjectName% in wizard.xml, while there is %{ProjectName} in
wizard.json. But you are using that, so that is probably not what is biting you.

>  What am I doing wrong?

What does not work for you? I could not figure that out based on your mail,
sorry.

To debug wizards I recommend to set a keyboard shortcut (in
Tools>Options>Environment>Keyboard) to the Wizard.Inspect action.

You can then trigger the wizard you are curious about and trigger the
Wizard.Inspect action at any time the (JSON) wizard is running. That will get
you a page with all the variables the wizard knows at that point in time.

I found the Inspector a great help to debug problems with my wizards.

Best Regards,
Tobias


-- 
Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft:
Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B


More information about the Qt-creator mailing list