Typically when I want to delete a file after the program stops running, I use atexit() and then remove(). Now I need to delete my Qt program itself (the .exe file) after it is done running. It's kind of like a self-destruction I need to achieve. Does Qt offer any solutions for that? I need to send my program to someone for testing. I then I need the program to delete itself because I don't want it to become public. What is the best way to achieve that with Qt? Thanks!
Bookmarks