Debugging ui's widgets

  • When I start a debugging session, and hit a breakpoint, I can see the values of the local variables, but I cannot inspect the ui's widgets. Actualllly the "ui" item has not the arrow to expand and if I try to add an expression like:


    it says "no such value".
    Of course I've compiled in debug mode. Is there something else to enable?

  • @Mark81
    Write something like QString Str = ui->label1->text(); and check Str variable

Log in to reply

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