Hello!
I'm doing a splash screen in my program, in C++, and I want that my initialization tasks be done in a thread, let's call it LoadingThread. But, in LoadingThread I would create some lists, load some settings, and etc. Things that will be used after LoadingThread is over.
My question is: what is the best way to do this? Should I create everything and then use QSharedMemory to transfer back to GUI thread? When the thread is over, will the objects created with new in LoadingThread be deleted as well, or could I simply pass the pointers back to the GUI thread? Am I complicating all this for no reason?
Thanks!
Bookmarks