Program exits with code -1073741510.
my Qt application runs for a while and suddenly stops in the middle of running.
message: exited with code -1073741510
You see only the return code?
Typically you should see also some more information on screen. However, you produce somewhere a crash. You need to use the debugger or some other means to find the location of the crash. It could be anything from uninitialized pointer, array overrun and many more.
Search the forum for the code... see here