Results 1 to 3 of 3

Thread: Debug Qt source in QtCreator

  1. #1
    Join Date
    Nov 2011
    Posts
    79
    Thanks
    5
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Debug Qt source in QtCreator

    Windows 7 x86, Qt 5.2.0 MinGW 4.8.0
    When I debug my app I can view only my source code. In Debug stack view I can see all source files list,but qt source files are greyed
    If I enter into it I see disassembled, not the code.
    In Internet I found something about mapping path. So I add source path in Options - Debugger - General - Add Qt source ...
    My Qt director is C:/Qt/5.2.0 so I added C:/Qt/5.2.0/Src and get:
    Source path: Q:\qt5_workdir\w\s
    Target path: C:/Qt/5.2.0/Src
    What is that Source path? I don't have this path on my computer.
    Anyway, nothing helps. I still can't enter into Qt source

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Debug Qt source in QtCreator

    Assuming you have used the online installer to get Qt then you need to run the Qt maintenance tool it installed, select and install the source code.

  3. #3
    Join Date
    Nov 2011
    Posts
    79
    Thanks
    5
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Debug Qt source in QtCreator

    I've installed Qt with offline installer so I have Qt source installed too.
    I not succeed to get it worked, probably some bug in QtCreator so I recompiled Qt from source and now it works fine.

Similar Threads

  1. How to use QtCreator from SDK with Qt from source package?
    By planetLars in forum Installation and Deployment
    Replies: 2
    Last Post: 15th April 2010, 19:50
  2. How do i debug in QtCreator?
    By payal in forum Qt Tools
    Replies: 6
    Last Post: 25th February 2010, 10:03
  3. QtCreator source code
    By ^NyAw^ in forum Qt Tools
    Replies: 7
    Last Post: 30th April 2009, 13:11
  4. how to compile c++ source file in qtCreator
    By orky7 in forum General Programming
    Replies: 6
    Last Post: 20th March 2009, 06:45
  5. Can't debug source file
    By oetzi in forum Newbie
    Replies: 5
    Last Post: 27th December 2007, 07:46

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.