Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c++

qt

pdb

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.

like image 879
Nyaruko Avatar asked Oct 31 '14 12:10

Nyaruko


People also ask

Where are PDB files located?

pdb file stores all debug information for the project's .exe file, and resides in the \debug subdirectory.

What is PDB file with DLL?

Program database (PDB) is a file format (developed by Microsoft) for storing debugging information about a program (or, commonly, program modules such as a DLL or EXE). PDB files commonly have a . pdb extension. A PDB file is typically created from source files during compilation.

Why is there a PDB files in release folder?

Because without the PDB files, it would be impossible to debug a "Release" build by anything other than address-level debugging. Optimizations really do a number on your code, making it very difficult to find the culprit if something goes wrong (say, an exception is thrown).


1 Answers

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.

like image 174
Matt M Avatar answered Sep 21 '22 12:09

Matt M