Results 1 to 5 of 5

Thread: Stepping into Qt sources in Qt Creator (in Suse Linux)

  1. #1
    Join Date
    Apr 2014
    Posts
    125
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Question Stepping into Qt sources in Qt Creator (in Suse Linux)

    Hello

    I'm trying to see where I'm crashing in the Qt sources itself. I'm on Linux SuSe platform (i.e. I'm not on Unbuntu).

    I'm wondering how can I stepping into the Qt sources in Qt Creator?

    I have downloaded (into /home/qt-everywhere-enterprise-src-5.4.0) and compiled the Qt sources with DEBUG=true.

    I have changed the Options -> Debugger to be:
    Source Path: /var/tmp/qt-src
    Target Path: /home/qt-everywhere-enterprise-src-5.4.0

    Still does not work?

    I need to see the call stack (backtrace) up to the Qt sources?

    Any thoughts?

    Thanks

    Mut

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Stepping into Qt sources in Qt Creator (in Suse Linux)

    You shouldn't need to set any path, but did you add a Kit with the correct Qt version?
    Did you use that Kit for building your project?

    Alternatively check if the distribution has a developer package with debug symbols.

    Cheers,
    _

  3. #3
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,710
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Stepping into Qt sources in Qt Creator (in Suse Linux)

    what happens if you try:
    Target Path: /home/qt-everywhere-enterprise-src-5.4.0/qbase/src
    (assuming the path you wrote here is the root of the source under which qbase and the other modules are)
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  4. #4
    Join Date
    Apr 2014
    Posts
    125
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default Re: Stepping into Qt sources in Qt Creator (in Suse Linux)

    Thank you for the replies.

    The kit will point to the default Qt sources. How can I make the kit point to the my own downloaded qt sources (/home/qt-everywhere-enterprise-src-5.4.0)?

    I have already tried /home/qt-everywhere-enterprise-src-5.4.0/qbase/src, it does not work.

    What I want is to step inside the Qt sources itself (eventually obtain a backtrace or callstack).

    Mut.

  5. #5
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Stepping into Qt sources in Qt Creator (in Suse Linux)

    A Kit is basically a combination of compiler and Qt version.

    Make sure your Kit points to your Qt version.
    This is usually done by selecting the qmake of that Qt version.

    Cheers,
    _

Similar Threads

  1. Replies: 10
    Last Post: 16th June 2014, 15:40
  2. Replies: 2
    Last Post: 11th June 2014, 08:17
  3. Qt Creator Qt- Creator fails in SUSE and Fedora
    By ArcNexus in forum Qt Tools
    Replies: 3
    Last Post: 23rd November 2012, 23:13
  4. QSound on Suse Linux
    By brent99 in forum Newbie
    Replies: 1
    Last Post: 11th March 2008, 08:41
  5. Qt 4.2.2 and SuSE Linux 9.3
    By Teuniz in forum Installation and Deployment
    Replies: 15
    Last Post: 26th February 2007, 12:21

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.