'Where to find the pdb files for Qt's dll?
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.
Solution 1:[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.
Solution 2:[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.
Solution 3:[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).
Solution 4:[4]
I found this files inside of bin folder of my Qt installation (qt 5.7)
Solution 5:[5]
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.
Solution 6:[6]
I tried follow @LittleWhite 's method, i find qt online installer download debug info from here (qt 5.14.2 msvc2017, x86)
http://mirror.bit.edu.cn/qtproject/online/qtsdkrepository/windows_x86/desktop/qt5_5142/qt.qt5.5142.debug_info.win32_msvc2017/
The entity packge may be vary large, qtbase is needed and is enough for most of us.
5.14.2-0-202003291224qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86-debug-symbols.7z
Solution 7:[7]
There are not old QT versions in the online installer. I was able to download 5.9.12 PDB files from here. To get files for other versions or platforms, change ..5129.. in the link or navigate manually from the root online installer repository
Solution 8:[8]
The path is deep and difficult to find. As for Qt 5.15.1, it seems like this:
https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt5_5151/qt.qt5.5151.debug_info.win32_msvc2019/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Community |
| Solution 2 | Matt M |
| Solution 3 | LittleWhite |
| Solution 4 | Michail |
| Solution 5 | Iuliu |
| Solution 6 | ??? |
| Solution 7 | Peyman |
| Solution 8 | W.Perrin |
