

Qt Creator displays the wizards that it finds in the New File or Project dialog. For more information, see Tips for Wizard Development. In addition, set keyboard shortcuts for the Inspect and Factory.Reset functions to be able to inspect the fields and variables in the wizard and to have the wizard listed in File > New File or Project without restarting Qt Creator. For more information, see Verbose Output. The verbose mode displays information about syntax errors, which are the most typical errors you might run into while editing wizards.

JSON WIZARD ARCHIVE
To share the wizard with other users, you can create an archive of the wizard directory and instruct the recipients to extract it into one of the directories Qt Creator searches wizards from.įor wizard development, we recommend that you start Qt Creator with the -customwizard-verbose argument to receive confirmation that Qt Creator was able to find and parse the wizard.json file. The folder hierarchy does not affect the order in which the wizards are displayed. The standard wizards are organized into subdirectories by type, but you can add your wizard directory to any directory you like. Otherwise, you can create a subdirectory in the settings directory. If you want to use qmake to build the wizard and integrate it into Qt Creator, use the shared directory. To create a customized wizard, copy a template directory to the shared directory or the settings directory under a new name. The configuration file contains sections that specify information about the wizard, variables that you can use, wizard pages, and generators for creating files. JSON-based wizard template directories contain a JSON configuration file called wizard.json and any template files needed. Qt Creator searches for wizards in the shared directory and in the local user's settings directory, as described in Locating Wizards.
