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. QtCreator debugging under Linux and OS X
Qt 6.11 is out! See what's new in the release blog

QtCreator debugging under Linux and OS X

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

    Hi

    I use QtCreator under Windows and have setup Qt debugger + CDB + Application Verifier which works successfully for source level debugging. I'm surprised how good Qt Debugger is - in some occasions MS Visual Studio while debugging the same application will not point to the source code line while Qt Debugger will locate it.

    I need to use Qt Creator for Linux and OS X but I never used those platforms for development. My questions are:

    Can Qt Creator for Linux and OS X be successfully configured for source level debugging? Will it require manual Qt build or the online installer will do just fine?

    Is there any counter part of Microsoft's Application Verifier that will cause crash in early stage of corruption?

    Is KDE preferred over GNome since it's based on Qt? Any preferred distribution?

    Thanks a lot!

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

      Yes. It actually configures itself automatically. Any Qt build will do, I think. At least I've never had any problems.

      I'm not familiar with Windows stuff too much, I don't know what MAV is. Debugger will usually catch a lot, and if not, you can use Valgrind to perform a deep analysis of your app. It's integrated into QtCreator (just requires separate installation of valgrind tool itself).

      Does not matter. I personally prefer KDE, but not because it's better suited for Qt - IMO it's just a better desktop, more productive and useful. As for distro, obviously Ubuntu/ Kubuntu are best tested, since they are so popular, but any other should do well, too.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        marcus.fr
        wrote on last edited by
        #3

        Thanks sierdzio. I suppose the same suggestions (point 1-2) apply for OS X as well.

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

          Ah yes, I somehow focused on Linux only. Maybe that's my hatred towards Mac showing itself unconsciously ;) I'm not sure about valgrind on Mac, but the rest should work as on linux.

          (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