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. Adding Qt to gdb without QtCreator
Forum Updated to NodeBB v4.3 + New Features

Adding Qt to gdb without QtCreator

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.7k 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.
  • T Offline
    T Offline
    Tom_E
    wrote on last edited by
    #1

    Hi,

    I need to debug Qt applications in an CLI debug environment outside of QtCreator - hosted on Mac OS X, but with a custom GDB 7.x (probably Python-enabled).

    I would love to have enhanced support for QStrings, QObjects et al. Can anybody give me an hint where to look how QtCreator integrates the Python based gdb enhancements and the gdb C++ addons (on Mac OS X)?

    So far I looked at http://doc.qt.nokia.com/qtcreator-2.3/creator-debugging-helpers.html and tried the KDE .gdbinit script.

    TNX!

    [EDIT: fixed link, Volker]

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Duck
      wrote on last edited by
      #2

      [Apple's gdb is a more robust choice even if it has no support python.] Anyway, for "deep inspection" of QObjects (i.e. evaluate properties, etc) Qt Creator is about the only choice I am aware of, for simpler types like QStrings http://websvn.kde.org/checkout/trunk/KDE/kdesdk/scripts/kde-devel-gdb does the trick, too. You could try to get a gdbserver up int the "CLI environment" and start Qt Creator on a machine with a GUI and a suitable cross-gdb.

      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