Hack that is required on Windows.
Fix infinite loops when trying to resolve file: URLs. Fixed by David upstream in kdelibs, meanwhile.
Add missing include of kstandarddirs.
The WId can be a HWD on Windows, so explicitly cast to make that work. urgh
adapt to library name
Don't build knotes on Windows, for the time being.
fix clashes with MS API
Add missing library to the link line.
Don't build the mobile parts of the incidenceeditor_ng when not building mobile UI.
Fix duplicate type scopes, does not compile with Visual Studio.