说明:这个问题是,如果想调试Qt的源码,那么除Qt本身以外,你需要另外安装两个包,
(1) sources
(2) Qt Debug Information Files
所以很多人在初使用新版本qt-creator的时候,会弹出这么一个东西,
Missing Qt Debug Information
The installed Qt 5.15.0 MSVC2019 64bit is missing debug information files. Locals and Expression might not be able to display all Qt types in a human readable format.
Please Install the "Qt debug information Files" Package form the maitenance tool for this qt installation to get all relevant symbols for the debugger.
因为没有详细分析过,所以我也不是很清楚这个东西到底都有些啥玩意,可能就是很多调试信息(.pdb)包吧,另外,如果要开发qt-creator插件的话,估计调试qt就是必须的了,所以最好装上这个东东。不管怎么样,咱先装上看看。
到安装目录下,找到那个叫MaintenanceTool.exe的文件,启动,然后找到所安装qt版本的debug information files,勾选安装就好了,如下图所示,
本文结束。