Quote Originally Posted by high_flyer View Post
Let start with:
Qt Code:
  1. while(getchar() != '\n') QCoreApplication::processEvents();
  2. loop->start();
To copy to clipboard, switch view to plain text mode 
loop->start() will never get called since you didn't use scope for the while().
start will be called when the condition is false.