... and running your program in your debugger to see where it is generating the unhandled exception.

The "nullptr" value passed on line 2 is begging to be misused inside the MainWindow constructor or methods.
The path on line 3 does not need two forward slashes.
You should, in general, copy and paste compilable code when asking for help. The second last line will not compile.