Where to find the pdb files for Qt's dll?

心已入冬 提交于 2020-01-31 07:36:33

问题


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:


PDBs 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 PDBs 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!