The exit code is whatever you return from main, which, in a typical Qt app, would be the return value from QApplication::exec (which is usaually the value passed to QCoreApplication::exit())
Unless the application terminates prematurely (eg. a system call or runtime library detects a fatal error)
-1073741515 in dec is C0000135 in hex, which is a "dll file not found" error.