1

I cross-compiled Qt5.9.2 for RPi2. On the target I've installed gbdserver and gdb-python2 packages. I can debug my executables manually launching gdb.

From the development machine, instead, QtCreator refuses to debug because:

The selected build of GDB does not support Python scripting

I'm not sure if the gdb that it's talking about is the one on the target machine or on the sysroot of the host. I'm using the linaro toolchain (armhf) and it seems it doesn't have the Python support.

Is there a way to debug within QtCreator?

1 Answer 1

2

Are you trying to run QtCreator on Windows?

There's a solution that worked for me (Windows). Download GDB with python, prebuild by Qt here. I got this solution on this Qt tutorial.

On Linux you can try to use gdb-multiarch or try the same solution that I get.

After you download the sources, just point to it on QtCreator Debugger

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.