I tried this in main.cpp of my app:

Qt Code:
  1. Application app(argc, argv);
  2.  
  3. IdleTimer *timer = IdleTimer::instance(&app,5);
  4. app.installEventFilter(timer);
To copy to clipboard, switch view to plain text mode 

Still same result. The debug message always comes 20 seconds after the app launches, no mater what I do, like clicking or moving the mouse.