use QCoreApplication:rocessEvents () in the place where u editing the QString ... means update() pending events.

or use qApp->processEvents();