问题
I am debugging a Qt application. Where can I find Qt's debug dll? I am using vs2010 on windows. It says it needs the pdb file for many .dll from Qt.
回答1:
The Qt SDK does not come with debugging symbols for release builds. You have to compile the whole thing from source with the correct compiler flags to get the .pdb files you need.
See this bug report.
回答2:
As of Qt 5.9, the PDBs corresponding to the Windows distros are available as a separate .zip file for download from this archive: https://download.qt.io/archive/qt/
Just browse to your specific distro and pick between the "uwp" or the "desktop" PDBs as appropriate.
回答3:
As found in this bugreport, the PDB files for Qt 5.12 can now be installed through the Online Installer (Maintenance Tool) (under the name Debug Information Files).
回答4:
PDB
s are used for debugging, if you install the Qt
library you won't be able to get inside the library with the debugger and step inside the implementation of a function for example...which is the way it has to be. AFAIK, if you want the PDB
s you need to compile Qt
from source.
回答5:
I found this files inside of bin folder of my Qt installation (qt 5.7)
来源:https://stackoverflow.com/questions/26674388/where-to-find-the-pdb-files-for-qts-dll