Qt-creator does not debug: The selected build of GDB does not support Python scripting. It cannot be used in Qt Creator

Hello,

  • OpenMandriva Lx version:
    25.01

  • Desktop environment (KDE, LXQT…):

Operating System: OpenMandriva ROME 25.01
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-desktop-1omv2490 (64-bit)
Graphics Platform: X11

  • Description of the issue (screenshots if relevant):
    If I try to debug a project on qt-creator, I get a message:
    The selected build of GDB does not support Python scripting. It cannot be used in Qt Creator.

  • Relevant informations (hardware involved, software version, logs or output…):

Qt Creator 15.0.0-rc1 (14.0.84)

Based on Qt 6.8.1 (GCC 14.2.0 20240801 (OpenMandriva), x86_64)

1 Like

Welcome! We are glad to see you.

First welcome to OMLx.

Yes, it appears that currently gdb does not have python support enabled. I will inquire into this and see if it was intentional or not.

I have has created an issue on Github reporting this. issue# 3092

1 Like

So, GDB 15.2 crashes with python scripting enabled. That is why it is disabled.

Berolinux did a quick check of 16.2 and it appears the crashing is gone. It did give some error’s so it’s unclear if it’s 100% working, but it looks like python scripting won’t have to be disabled in 16.2.

1 Like

Thank you for your very prompt response. Is there any chance of this being fixed soon?

1 Like

16.2 is now in cooker. It will be moved to Rome before too long.

You can try installing it from cooker before it makes it to rome, but it’s possible you’ll run into problems because of it.

sudo dnf install gdb --refresh --enablerepo=cooker-x86_64

I did install it on my system running rome and gdb at least starts and appears functional.

Hello and thanks a lot for your response.

Installing gdb 16.2 from cooker as per instructions above worked. qt-creator does not complain and debugs as expected.

Thanks again. I am marking this response as a solution

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.