Qt World Summit: Submit your Presentation

Qt Creator Templates

  • Hello everybody!

    First of all, sorry if the question I'm about to ask has already been answered, I've looked for without finding related topics.

    I'm wondering if is there a way to create templates with conditional options. For instance, I'd like to create a custom class template with a checkbox on the wizard that asks about considering that class a singleton (adding a singleton code snippet within the code) so to make it easier to add code snippets avoiding creating single templates for each code customization.

    Thanks in advance.

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    That might interest you