QT5.15.2不能debug

14:42:12: Debugging E:\Qtproject\ND-Camera\build\Desktop_Qt_5_15_2_MinGW_32_bit-Release\release\ND-Camera.exe ...
14:42:13: Debugging of E:\Qtproject\ND-Camera\build\Desktop_Qt_5_15_2_MinGW_32_bit-Release\release\ND-Camera.exe has finished.
14:42:12: Debugging E:\Qtproject\ND-Camera.exe ...
14:42:13: Debugging of E:\Qtproject\ND-Camera.exe has finished.

debug的日志错在python 2.7xxxxxx,但我装的是Python 3.X,qt15的mingw 8 32bit里面自带的是python 2.7

Debugging has failed | Qt Forum

我的环境是
qt 5.15.2
win10
mingw 8 32 位(需要打包到32位电脑上)
qt creator 14.XXX
注意使用MaintenanceTool.exe会把qt creator更新

解决办法:把 qt creator 从14版本换到13版本的,支持32位debug
Qt Creator 14 is unable to debug a Qt 5 project | Qt Forum

最后记得 改qt path

上一篇:【四线框的跟随移动】-一、布局


下一篇:酒店定制门牌的材质有哪些