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. How do I check the .cpp source code straight in the QT Creator?
Forum Updated to NodeBB v4.3 + New Features

How do I check the .cpp source code straight in the QT Creator?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 979 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.
  • ALLINXXXA Offline
    ALLINXXXA Offline
    ALLINXXX
    wrote on last edited by ALLINXXX
    #1

    Hi!
    I can only check the .h file in the QT Creator.
    For example,I check QApplication::aboutQT() then the QT Creator jump into .h file instead of .cpp file.
    How do I solve this problem like checking the implementations of the .h files straight in the QT Creator

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

      Hi the source code for Qt is a separate download.
      https://www.qt.io/download-open-source/#section-2
      section: Source packages & Other releases

      ALLINXXXA 1 Reply Last reply
      5
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        first thing first most of the time you do not need it. 99.99999% of the time if there is a problem it's in your app, not in Qt, having said that you'll need debug symbols, see https://bugreports.qt.io/browse/QTBUG-3934

        If you just need to check the source you can get it from http://code.qt.io/cgit/

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        ALLINXXXA 1 Reply Last reply
        4
        • VRoninV VRonin

          first thing first most of the time you do not need it. 99.99999% of the time if there is a problem it's in your app, not in Qt, having said that you'll need debug symbols, see https://bugreports.qt.io/browse/QTBUG-3934

          If you just need to check the source you can get it from http://code.qt.io/cgit/

          ALLINXXXA Offline
          ALLINXXXA Offline
          ALLINXXX
          wrote on last edited by
          #4

          @VRonin
          Thanks!
          I just wanna check how QT design their programs

          1 Reply Last reply
          0
          • mrjjM mrjj

            Hi the source code for Qt is a separate download.
            https://www.qt.io/download-open-source/#section-2
            section: Source packages & Other releases

            ALLINXXXA Offline
            ALLINXXXA Offline
            ALLINXXX
            wrote on last edited by
            #5

            @mrjj
            Oh this is totally what I need!
            thanks

            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