Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator Templates
Qt 6.11 is out! See what's new in the release blog

Qt Creator Templates

Scheduled Pinned Locked Moved General and Desktop
qtcreatortemplatecreatoradvanced templa
2 Posts 2 Posters 1.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • iakkoI Offline
    iakkoI Offline
    iakko
    wrote on last edited by iakko
    #1

    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.
    iakko

    --
    IP

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That might interest you

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved