Got rid of the Qt "main" function. Instead we now use a custom entry-point function and call the standard MSVC mainCRTStartup() function.