I am unable to step into the Qt code in Visual Studio, what can the problem be?

If you configured Qt with debug symbols then this should work. In addition to letting you step into the code this will also give output from asserts, warnings etc.

Also make sure your project has CONFIG+= debug in the .pro file.

The other situation where the debugging would not work is when something is out of sync. You are using some libraries from previous builds for example. The best thing to do in this case is to clean out the old build by going to a command prompt and typing

  1. nmake clean
  2. configure -redo
  3. nmake

in your Qt directory.

No comments

Write a comment

Sorry, you must be logged in to post a comment.