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. Viewing class hierarchy of a QT Project
Forum Update on Monday, May 27th 2025

Viewing class hierarchy of a QT Project

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5classes
5 Posts 3 Posters 1.2k Views
  • 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.
  • D Offline
    D Offline
    deleted286
    wrote on last edited by
    #1

    Is there any way to view class hierarchy of any QT project graphically?

    JonBJ 1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      Qt Creator features a 'Type Hierarchy' view that let you navigate the class hierarchy of classes: https://doc.qt.io/qtcreator/creator-views.html#viewing-type-hierarchy . Other IDE's feature something similar.

      Anyhow, if you're asking for a complete, pre-generated class diagram for Qt classes ... I don't think this is available anywhere.

      Director R&D, The Qt Company

      D 1 Reply Last reply
      3
      • D deleted286

        Is there any way to view class hierarchy of any QT project graphically?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @suslucoder
        This is beyond my pay-grade. But if you look around the answer everywhere over the years is "No, but use Doxygen plus Graphviz".

        D 1 Reply Last reply
        1
        • JonBJ JonB

          @suslucoder
          This is beyond my pay-grade. But if you look around the answer everywhere over the years is "No, but use Doxygen plus Graphviz".

          D Offline
          D Offline
          deleted286
          wrote on last edited by
          #4

          @JonB Thank you i will try it

          1 Reply Last reply
          0
          • kkoehneK kkoehne

            Qt Creator features a 'Type Hierarchy' view that let you navigate the class hierarchy of classes: https://doc.qt.io/qtcreator/creator-views.html#viewing-type-hierarchy . Other IDE's feature something similar.

            Anyhow, if you're asking for a complete, pre-generated class diagram for Qt classes ... I don't think this is available anywhere.

            D Offline
            D Offline
            deleted286
            wrote on last edited by
            #5

            @kkoehne Thank you for answering

            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