Results 1 to 3 of 3

Thread: how to trace to the source of qt framework while debugging

  1. #1
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default how to trace to the source of qt framework while debugging

    hi,

    I am new to Qt. I want to trace back to Qt framework source files while debugging. And it is said I need to build the source to do it. And I did it using Visual Studio 2008.

    The building is successful. And I see Bin files and Lib files. The thing is that I canno run the examples in Visual Studio, and when i click a sample exe, e.g. fancybrowser.exe, it will fail. But if I copy all lib files to this folder, fancybrwoser will run.

    All I want to do is to trace back to Qt source files while debugging, is there some easy way to do this?

    thanks,

    Yanke

  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: how to trace to the source of qt framework while debugging

    This is nothing unique to Qt or debugging Qt. Like any Windows application the demos need to be able to find their dependencies. If these dependencies cannot be found then the application fails. Put the relevant Qt bin directory in the PATH of the environment that Visual Studio uses to run your programs.

  3. #3
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: how to trace to the source of qt framework while debugging

    Thank you! I also think so, but just cannot work out. I will continue trying. Do you think if I want to trace to the source code of Qt library, I need to build my own version? I saw src files in SDK. I thought I can directly use that....

    Quote Originally Posted by ChrisW67 View Post
    This is nothing unique to Qt or debugging Qt. Like any Windows application the demos need to be able to find their dependencies. If these dependencies cannot be found then the application fails. Put the relevant Qt bin directory in the PATH of the environment that Visual Studio uses to run your programs.

Similar Threads

  1. Replies: 3
    Last Post: 6th September 2010, 23:00
  2. How can I view the source of a dll when debugging
    By MorrisLiang in forum Newbie
    Replies: 0
    Last Post: 24th May 2010, 10:30
  3. Avoiding stepping into qt source files while debugging
    By piotr.dobrogost in forum Qt Programming
    Replies: 5
    Last Post: 19th September 2009, 14:48
  4. trace new files in a directory
    By Fastman in forum Qt Programming
    Replies: 2
    Last Post: 13th October 2007, 12:04
  5. Replies: 1
    Last Post: 22nd January 2007, 12:13

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.