[Solved]Unable to Debug I need HELP!



  • I can't debug my program. I can not even click the Debug button. My OS is ubuntun 12.10 and Qt Version is Qt 4.8.3.

    I have checked my Tool Chain. There is no GDB. As I been learned from this website I should Build GDB first.

    (How to build GDB?? http://qt-project.org/wiki/QtCreatorBuildGdb#7ccf4668759a727917c659ab69745126).

    So here is the problem, I been told that i should Go to qt-creator/dist/gdb first. But there is no such "dist" directory

    So what should i do??


  • Moderators

    Run those 2 commands:
    @
    sudo apt-get install build-essential
    sudo apt-get build-dep qt4-qmake
    @

    Then check kits again in Qt Creator: everything should be there. No need to build GDB unless you need some bleeding-edge stuff.



  • It works! Thanks for your reply. Problem has been solved
    /////////////////////////////////////////////////////////////////////////////////////////////
    [quote author="sierdzio" date="1366814116"]Run those 2 commands:
    @
    sudo apt-get install build-essential
    sudo apt-get build-dep qt4-qmake
    @

    Then check kits again in Qt Creator: everything should be there. No need to build GDB unless you need some bleeding-edge stuff.[/quote]


  • Moderators

    Cool. Please add "[Solved]" to you're topic's title (you need to edit your first post).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.