I made a project in Qt, I took a listwidget container and a pushbutton and on the click of a button , i am filling dat listwidget using additem action, i am filling 100 chars in 1 click using a loop, now what hapng is that when i click on the buton i see those 100 chars but i want a continuous o/p like the one console provides i.e. printing of characters one by one, then i used sleep function after the line ui->listwidget->additem(char), then it starts sleeping for the gien time on the mainwindow show and still it gives 100 chars in one time, what is the solution![]()
Bookmarks