Build fails on VS2012

Submitted by Salah ad-Deen on 2013-09-21

I am trying to build Saladin on Windows 8 x64, Visual Studio 2012, Qt 5.1.1. I start the VS console, set the QTDIR variable and put the path to qmake to my PATH variable. Then I run configure.bat and nmake. THe build fails. I tryed also configure.bat -msvc and opened the project in VIsual Studio. I get the same kind of error when I build the project:

1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\exdisp.h(41): error C2146: syntax error : missing ';' before identifier 'IWebBrowser'

This is the code in exdisp.h:

typedef interface IWebBrowser IWebBrowser;

It complains about all typedef interface ... statements.

Salading was written for Qt 4, so it probably won't compile with Qt 5. Also I haven't tested it on VS 2012 (I still have VS 2010), so perhaps there is some incompatibilty (from the error message I figure that there is a missing include somewhere).