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. See everything that uses an include in Qt Creator?

See everything that uses an include in Qt Creator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 838 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.
  • W Offline
    W Offline
    wrosecrans
    wrote on last edited by
    #1

    If I have a header that I know is included all over, is there any easy way to see everything in the project that includes that particular header?

    aha_1980A 1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @wrosecrans said in See everything that uses an include in Qt Creator?:

      If I have a header that I know is included all over, is there any easy way to see everything in the project that includes that particular header?

      One way is to use Ctrl+Shift+F to search your project files for the inclusion line. For example, search for #include "myheader.h"

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      2
      • W wrosecrans

        If I have a header that I know is included all over, is there any easy way to see everything in the project that includes that particular header?

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @wrosecrans

        there is an Include Hierarchy side panel that provides exactly this info. I just don't remember the shortcut now, but you can change e.g. the projects side panel to it.

        regards

        Qt has to stay free or it will die.

        JKSHJ 1 Reply Last reply
        3
        • aha_1980A aha_1980

          @wrosecrans

          there is an Include Hierarchy side panel that provides exactly this info. I just don't remember the shortcut now, but you can change e.g. the projects side panel to it.

          regards

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @aha_1980 said in See everything that uses an include in Qt Creator?:

          there is an Include Hierarchy side panel that provides exactly this info. I just don't remember the shortcut now, but you can change e.g. the projects side panel to it.

          Thanks @aha_1980, I learn something new every day!

          http://doc.qt.io/qtcreator/creator-quick-tour.html#viewing-include-hierarchy

          The shortcut is Ctrl+Shift+I

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          2

          • Login

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