问题现象
Could not load shared library symbols for 33 libraries, e.g. C:\Windows\SysWOW64\kernel32.dll.
Use the “info sharedlibrary” command to see the complete listing.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\uxtheme.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\msctf.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\kernel.appcore.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\bcryptprimitives.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\codecs\qcncodecsd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qgifd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qicod4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qjpegd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qmngd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qsvgd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\bin\QtSvgd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\bin\QtXmld4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\bin\QtSvgd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qtgad4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qtiffd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\imageformats\qtiffd4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\sqldrivers\qsqlited4.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for D:\Qt\4.8.6\plugins\sqldrivers\qsqlited4.dll.
Do you need “set solib-search-path” or “set sysroot”?
Could not load shared library symbols for C:\Windows\SysWOW64\TextInputFramework.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\CoreMessaging.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\CoreUIComponents.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\CoreUIComponents.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\WinTypes.dll.
Do you need “set solib-search-path” or “set sysroot”?Could not load shared library symbols for C:\Windows\SysWOW64\cryptbase.dll.
Do you need “set solib-search-path” or “set sysroot”?
解决办法
在Qt Creator工具选项中选择“调试器”,如下图:
在额外的启动命令中输入你所无法找到的动态库路径(不能有额外的空格和换行),如下图:
set solib-search-path D:\Qt\4.8.6\bin;D:\Qt\4.8.6\plugins\imageformats;D:\Qt\4.8.6\plugins\codecs;D:\Qt\4.8.6\plugins\sqldrivers;C:\Windows\SysWOW64