In many cases you may want to ensure that only one program or instance is running. In another word, if an instance of program is running and the user tries to run a new instance, you want to found that and exit second program and maybe show an appropriate message. You can implementated Qt  only