Greetings All

I have something like the following in my project.

Qt Code:
  1. MainRoutine doStuff;
  2.  
  3. QLineEdit test = new QLineEdit();
  4. test.setText("Updating...");
  5.  
  6. doStuff.runSTLcppRoutine();
To copy to clipboard, switch view to plain text mode 
The call to QLineEdit::setText() does not get updated until doStuff.runSTLCppRoutine() returns despite being physically before it. Can somebody help with this?

Many Thanks.