hi guys,

i have an app.

i have made a function in my main file of the app.

in which i want show and hide app automatically after every 5 sec.

Qt Code:
  1. while(1){
  2. app.show();
  3. sleep(5);
  4. app.hide();
  5. sleep(5);
  6. };
To copy to clipboard, switch view to plain text mode 

but once it is minimized it is not showing anything

what to do?