Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

CROSS-COMPILING QT EMBEDDED 5.5 – Unable to crossdebug



  • Hello,
    I followed tutorial by sysprogs to crosscompile Qt for Raspberry Pi 2/3 (http://visualgdb.com/tools/QtCrossTool/), crosscompile works well but I need to crossdebug and I don’t know what file Qt needs to set up. I tested it on Raspbian and Ubuntu MATE but both have the same problem.

    Tutorial is wroten for Visual Studio and they wrote me that they don't have support for QtCreator.

    I tried these GDB's:
    GDB’s in crosscompile directory:
    SysGCC\Raspberry\bin\arm-linux-gnueabihf-gdb.exe -Error - "The selected build of GDB doesn not support Python scripting. It cannot be used in Qt Creator".

    SysGCC\Raspberry\bin\arm-linux-gnueabihf-gdb.exe - Error - "The selected build of GDB doesn not support Python scripting. It cannot be used in Qt Creator".

    SysGCC\MinGW32\bin\gdb.exe - Error - "The selected build of GDB doesn not support Python scripting. It cannot be used in Qt Creator".

    SysGCC\MinGW32\bin\gdb.exe - Error - "The selected build of GDB doesn not support Python scripting. It cannot be used in Qt Creator".

    Qt GDB
    C:\Qt\Tools\mingw491_32\bin\gdb.exe
    Error:
    Listening on port 10010
    A handler for the OS ABI “GNU/Linux” is not built into this configuration
    of GDB. Attempting to continue with the default i386 settings.
    Remote debugging from host 10.21.1.241
    Process /home/enwox/Desktop/AttendanceTerminal/AttendanceTerminal created; pid = 3944
    A handler for the OS ABI “GNU/Linux” is not built into this configuration
    of GDB. Attempting to continue with the default i386 settings.
    Architecture rejected target-supplied description

    … And timeout shows up after some time.

    Could you help me somehow? I was finding an answer for a long long time and I still don’t get it. I’m sure You know how important debugging is :) .

    Thanks for help



  • Nobody with this issue?


  • Lifetime Qt Champion

    Hi,

    I haven't done cross-debugging from Windows however from the error message you get, you need to get a "cross gdb" built with python support.


Log in to reply