GDB Python version error on WIndows 11 pro
-
I have a fresh installtion of Qt creator on windows 11 pro. At first Python was not setup until I received an error warning from qt creator while starting the MinGW debugger. I have installed the newest version of Python. Restarted creator, reinstalled MinGW 8.1 64 bit and also rebooted the machine. However the warning is still pops up when trying to debug.
Basically it is the same error as here, but now on Windows 11 pro.
I have checked this bug report as it is referred to in the forum's post.
Does anybody have additional information?
It seem to be strange it still reports version 0.0 even after a Python has been installed.
Does anybody have additional information? -
It's a regression in Qt Creator 11.0.0. Qt Creator 10.0.2 works fine. See https://bugreports.qt.io/browse/QTCREATORBUG-29440
-
Take libcpp_stdtypes.py and replace your version from
c:\Qt\qtcreator-11.0.0\share\qtcreator\debugger\libcpp_stdtypes.py
and it should be fine. -
@cristian-adam
Thanks for work around apparently it does work.Interesting is that in the new installation was only the libcpp_stdtypes.py available. Even though I have tried to debug a couple of times. Now with the version of creator 10.0.2 (I believe) libcpp_stdtypes.pyc was created immediately when debugger was started.