Hi Uwe,
Ive now had some time to look into this further. Below are the error messages I received.

When in release mode, the QT console returns:
Qt Code:
  1. convertHIconToPixmap(), failed to GetIconInfo()
  2. QPixmap::fromWinHBITMAP(), failed to get bitmap info (The handle is invalid.)
  3. QPixmap::fromWinHBITMAP(), failed to get bitmap info (The handle is invalid.)
To copy to clipboard, switch view to plain text mode 
When in debug mode I get:
Qt Code:
  1. Program exited with code 03.
  2. (gdb)
  3. QFSFileEngine::open: No file name specified
  4. convertHIconToPixmap(), failed to GetIconInfo()
  5. QPixmap::fromWinHBITMAP(), failed to get bitmap info (The handle is invalid.)
  6. QPixmap::fromWinHBITMAP(), failed to get bitmap info (The handle is invalid.)
  7. ASSERT: "m_hdc" in file painting\qpaintengine_raster.cpp, line 4286
  8.  
  9. This application has requested the Runtime to terminate it in an unusual way.
  10. Please contact the application's support team for more information.
  11. warning: Lowest section in C:\WINDOWS\system32\xpsp2res.dll is .rsrc at 00011000
  12. warning: Lowest section in C:\WINDOWS\system32\odbcint.dll is .rsrc at 00401000
  13. BFD: C:\WINDOWS\system32\wmvcore.dll: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
  14. BFD: C:\WINDOWS\system32\wmvcore.dll: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
  15. (gdb)
To copy to clipboard, switch view to plain text mode