Nominate our 2022 Qt Champions!

Qttab strange behaviour

  • I have two tabs in my widget. There is labels , push button in different tabs. all working good.

        ui(new Ui::Widget)
                    ui->label_2..    is Ok
    bu cant see new one
    ui->label-9... it is not appear after ui->...

    when I add a new label or pushbutton to in a tab, I can see them in the ui->... list. old ones can be see but new there is no new ones .?

    any idea ? is this a cache problem or what ?

  • Lifetime Qt Champion

    Sometimes qmake can be a bit stale detecting it should recreate the ui_xxx files.

    Please completely delete build folder and see.

Log in to reply