Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator - generation of required includes in sources?
Qt 6.11 is out! See what's new in the release blog

Qt Creator - generation of required includes in sources?

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 1.2k Views 1 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.
  • E Offline
    E Offline
    e79ene
    wrote on last edited by
    #1

    HI all!

    Is there a feature for automatic includes management?
    I mean to add required (or remove redundant) headers' include directives to my source file?

    It's rather annoying to add #include <Q.....> for every class I start to use.
    And it's almost impossible to track which I don't use anymore.

    Thanks.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It's planned, but not implemented yet.

      (Z(:^

      1 Reply Last reply
      0
      • E Offline
        E Offline
        e79ene
        wrote on last edited by
        #3

        Thank you for a good news!
        Looking forward!

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          As for "it’s almost impossible to track which I don’t use anymore", you can simply use Qt Creator's Find tool (Ctrl+F) and serach the header and source file for the given class name.

          (Z(:^

          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