Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
main window does not update new label name
martinc last edited by
I made a very simple tutorial application where a clicked button update a label text.
However, the text is not updated on button click.
It updates first after for example resize the window.
How to make the text update directly on the button click?
ui->label->setText("button is clicked");
This should work. Can you share complete example or sample code on how u create the object, button etc?.