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. Breakpoint inside QT sdk linking libraries

Breakpoint inside QT sdk linking libraries

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 1.1k 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.
  • Catalin.OC Offline
    Catalin.OC Offline
    Catalin.O
    wrote on last edited by
    #1

    Is there a way of placing a breakpoint inside any of the QT libraries like libQt5Networking ?

    I see that, in qt-creator, for all QT libraries, the "Show Source Files for Module" is grayed out.

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

      Hi
      You can try this
      https://forum.qt.io/topic/70001/solved-stepping-into-qt-library-code-whilst-debugging

      Note that is visual studio compiler.

      Catalin.OC 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        You can try this
        https://forum.qt.io/topic/70001/solved-stepping-into-qt-library-code-whilst-debugging

        Note that is visual studio compiler.

        Catalin.OC Offline
        Catalin.OC Offline
        Catalin.O
        wrote on last edited by
        #3

        @mrjj Seems similar to what I already tried and didn't worked. I should mention that I'm using:

        Qt Creator 4.4.1
        Based on Qt 5.9.2 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit).

        mrjjM 1 Reply Last reply
        0
        • Catalin.OC Catalin.O

          @mrjj Seems similar to what I already tried and didn't worked. I should mention that I'm using:

          Qt Creator 4.4.1
          Based on Qt 5.9.2 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit).

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Catalin.O
          So its gcc that you use for the app, i assume.

          Note, that Creator has nothing to do with the compiler you use for app building or
          Qt version. It just lists what Creator was made with. :)

          Anyway, af as far i know on linux, you must build your own Qt debug version.

          Hopefully others can give more detailed description.

          Catalin.OC 1 Reply Last reply
          0
          • mrjjM mrjj

            @Catalin.O
            So its gcc that you use for the app, i assume.

            Note, that Creator has nothing to do with the compiler you use for app building or
            Qt version. It just lists what Creator was made with. :)

            Anyway, af as far i know on linux, you must build your own Qt debug version.

            Hopefully others can give more detailed description.

            Catalin.OC Offline
            Catalin.OC Offline
            Catalin.O
            wrote on last edited by
            #5

            @mrjj You are saying that I should have the QT libraries, built with debugging symbols inside ?

            mrjjM 1 Reply Last reply
            0
            • Catalin.OC Catalin.O

              @mrjj You are saying that I should have the QT libraries, built with debugging symbols inside ?

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Catalin.O

              Hi
              Yes. Only way i could get it to work.
              https://stackoverflow.com/questions/5049578/stepping-into-qt-sources-in-qt-creator-in-ubuntu-linux

              On windows, one can download som pdb for visual studio files
              but on linux, no such option as far as i know.

              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