Practicing multithreads using Qt.