Results 1 to 5 of 5

Thread: Can't step into QT Source code on Ubuntu

  1. #1

    Default Can't step into QT Source code on Ubuntu

    I built QT 4.8.3 on Ubuntu 12.04 LTS(64 bit) with the following configuration options:

    ./configure -webkit-debug -debug-and-release -opensource -openssl -I ~/openssl-1.0.0d/include

    When I debug and trace my own application built with the compiled version of qt4.8.3, I can't step into the QT source code.

    I check the files under the Qt installation folder: /usr/local/Trolltech/Qt-4.8.3/lib, I only see a single libXXXXX.so.4.8.3 file for each compiled lib. I was expecting to see separate libraries for release and debug version.

    Whenever I create a new instance of QScriptEngine in my app, it immediately crashes. Therefore, I would like to step into QT source code to see what is going on. Please advise what I can do to step into Qt source code on ubuntu.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can't step into QT Source code on Ubuntu

    Do you have Qt source code available where the debugger can find it?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3

    Default Re: Can't step into QT Source code on Ubuntu

    Well, the source code is on the same machine and sits where I compile it from.

    Quote Originally Posted by wysota View Post
    Do you have Qt source code available where the debugger can find it?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can't step into QT Source code on Ubuntu

    Quote Originally Posted by sfcheng77 View Post
    Well, the source code is on the same machine and sits where I compile it from.
    Ok, you know that but does your debugger/QtCreator know that?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Can't step into QT Source code on Ubuntu

    because its read the opposite way that it was written
    why?
    top posting
    what's the most annoying thing about forums?
    Quote Originally Posted by sfcheng77 View Post
    Well, the source code is on the same machine and sits where I compile it from.
    get my drift?
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Qt Creator How to step into Thirdparty library source code while debugging?
    By vangaurd in forum Qt Tools
    Replies: 6
    Last Post: 14th September 2012, 12:13
  2. Replies: 11
    Last Post: 26th June 2012, 10:51
  3. Qt Creator Debugging step by step through else rich code does not work
    By Terjoqu in forum Qt Tools
    Replies: 1
    Last Post: 11th March 2010, 21:44
  4. How to step inside(debug) webkit code?
    By nish in forum Qt Programming
    Replies: 5
    Last Post: 30th December 2009, 12:23
  5. Step by Step MySQL Plugin... what's next step?
    By chaosgeorge in forum Qt Programming
    Replies: 20
    Last Post: 5th November 2006, 15:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.