Why would you want to do that? The GUI will not be responding and your application will look like it has frozen. Use QTimer instead.