当前位置: 代码迷 >> QT开发 >> 关于QT组合VS2010编程出现找不到PDB文件的警告
  详细解决方案

关于QT组合VS2010编程出现找不到PDB文件的警告

热度:76   发布时间:2016-04-25 04:41:13.0
关于QT结合VS2010编程出现找不到PDB文件的警告
请教高手一个问题,这几天我在学习VS2010结合QT编程,编译一个hello程序,提示找不到PDB文件,但编译是成功的,可以运行程序,请问怎么解决这个问题!

我在安装VS2010后,按照网上有人贴出来的方法编译QT源代码(http://www.cnblogs.com/elect-fans/archive/2012/03/29/2422816.html),在configure完成后,没有执行清理命令和不加参数-prex,这两个措施就是为了避免出现找不到PDB文件警告的,编译成功后,又继续安装了qt-vs-addin-1.1.10,打开VS2010,在其菜单中出现了QT选项,我打开一个hello例子进行编译,编译好后正常运行hello程序,但在编译状态栏中出现了很多找不到PDB文件的警告,请问高手们这是怎么回事,怎么解决这个问题!

谢谢


另外,我把状态栏中的警告信息贴在下面:

“hello.exe”: 已加载“D:\Test_program\test\chap01\hello\debug\hello.exe”,已加载符号。
“hello.exe”: 已加载“C:\Windows\System32\ntdll.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\kernel32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\KernelBase.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\gdi32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\user32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\lpk.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\usp10.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\msvcrt.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\oleaut32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\ole32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\rpcrt4.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\imm32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\msctf.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\winmm.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\winspool.drv”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\ws2_32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\nsi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\advapi32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\sechost.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\shell32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\shlwapi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\nvinit.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\detoured.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\Nvd3d9wrap.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\setupapi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\cfgmgr32.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\devobj.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\NVIDIA Corporation\coprocmanager\nvdxgiwrap.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\uxtheme.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\dwmapi.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\cryptbase.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Program Files\ThinkPad\Bluetooth Software\BtMmHook.dll”,Cannot find or open the PDB file
“hello.exe”: 已加载“C:\Windows\System32\psapi.dll”,Cannot find or open the PDB file
程序“[2556] hello.exe: 本机”已退出,返回值为 0 (0x0)。


以上是编译Hello出现在输出状态栏中的内容 






“quit.exe”: 已加载“D:\Test_program\test\chap01\quit\debug\quit.exe”,已加载符号。
“quit.exe”: 已加载“C:\Windows\System32\ntdll.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\kernel32.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\KernelBase.dll”,Cannot find or open the PDB file
“quit.exe”: 已加载“C:\Windows\System32\gdi32.dll”,Cannot find or open the PDB file
  相关解决方案