does this work?
Qt Code:
  1. void myThread::run(){
  2.  
  3. while(1)
  4. {
  5. //do something
  6. emit display("show the result"); //NOT WORKING, THOUGH CONNECTED
  7. msleep(1);
  8. }
  9. }
To copy to clipboard, switch view to plain text mode