Qt Creator configures the debugger of Msvc 2012

This method can be used in win 8.

1. Compile Qt 5.0.2, the compiler is Msvc 2012

2. Download Cdb.exe, this is for console debugging code, the debugger used by Msvc is WinDbg, so there is no Cdb for installing vc, URL:

http://msdn.microsoft.com/en-US/windows/hardware/gg463009/

After entering, download the separate installation package of cdb:

 

 

 

Click and download.


Note: The URL mentioned above is no longer available. Use the above URL to download WDK 8. This corresponds to VS 2012 for win 7. This installation is very slow. Or download the corresponding CDB of 2010, download URL:

http://www.microsoft.com/en-us/download/confirmation.aspx?id=11800

Then unzip the installation, choose to install only the debug tool, the path obtained after the installation is:

C:\WinDDK\7600.16385.1\Debuggers

Below this is the CDB.


3. Install after completion.

4. Open Qt Creator, in "Tools" -> "Options", click on the automatic detection in the following settings:



おすすめ

転載: blog.csdn.net/laiyinping/article/details/51354305