Important: Please read the Qt Code of Conduct -

Qt Creator debugger issue

  • Hello,

    I'm trying to debug a little software I'm developing and I'd need to step into the Qt library sources.

    I'm using Qt Creator 2.2.1 from an Ubuntu 11.10 installation.

    I downloaded Qt 4.8.0 from Git and built from that sources. "Make install" installed the lib in /usr/local/Trolltech/Qt-4.8.0.
    I started a new project in QtCreator and linked to my build of the libraries (added the lib in Tools->Options->Qt4 tab and selected from the project tab).

    When I start the debugger I can set breakpoint and step into the Qt functions that are written inline in the .h files, but I'm not able to jump to the functions and methods that are in the .cpp files. It seems that GDB doesn't find the source files.
    *.h files are found in the Trolltech path.

    Anyone can help me with this issue?

    thanks a lot

Log in to reply