Test gameloop with QTimer