Qt源码有进不去的吗
Unsolved
Chinese
-
用QtCreator调试Qt程序,进不去Qt源码啊,安装时已经选中了Src了,有解决方法吗
-
This has been asked before and answered by by Tobias @hunger :
F2 is "follow symbol under cursor". That should get you to the right place, independently of whether the code was provided by some included header file or not. Your own projects will most likely not include the Qt source files though, so you can not jump into them directly (they are not referenced from the project, so they are not there for creator). So during editing you will not be able to just jump straight into the Qt source code. Debugging will of course work (see previous answer, buit rebuilding your own Qt shouldn't actually be necessary). You can open the projects.pro file found in the Qt sources as an additional project in creator. Then you can at least use the locator (Ctrl-K) to look up methods, etc. Hope this helps...
-
需要源码编译Qt的源码才行呢。
你想看源码调试情况,估计是找到了Qt的BUG。首先到
bugreports.qt.io去找找吧。 -
@jiancaiyang
谢谢,换了一个Qt版本,解决了源码不能进的问题 -
是的,还有一点,就是Qt5.5.0也算很老的了,现在都Qt5.9.1了。
-
@jiancaiyang
这个确实