Reputation: 79467
I have downloaded a binary build of Qt4 that is built for MSVC9/VS2008. I installed it from a setup file, I have NOT built it from source.
However, I do have the sources located at:
c:\QtSDK\QtSources\4.8.1\src:
I also have PDB files located at:
c:\QtSDK\Desktop\Qt\4.8.1\msvc2008\lib
So if I have both the PDBs and sources, I should be able to step into the source, even though I haven't built it from source.
Note: I've already found and read some questions asking how to step into Qt sources, however they are either about Linux (that one's mine as well, actually), or they don't specify whether it's compiled from source or not (a very important distinction).
Upvotes: 3
Views: 1645
Reputation: 79467
I opened one of the PDB files - c:\QtSDK\Desktop\Qt\4.8.1\msvc2008\lib\QtCored4.pdb
- in a hex editor and found these strings describing file paths there:
c:\iwmake\build_vs2008_opensource_________________PADDING_________________\src\network\vc90.pdb
So I added a mapping using Tools->Options->Debugger->Add Qt Sources:
It's working and I can step into Qt Sources now :)
Keep in mind the path might be different for you, so you'll have to inspect your PDB files to find what to map.
Upvotes: 5