I’m building QT app , having QT5 SDK, qt VS plugin 1.2.x and using Visual studio 2012. When i’m compiling the project I’m getting weird error like bellow,
C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(80): error C2146: syntax error : missing ‘;’ before identifier ‘IProvideClassInfo’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(87): error C2146: syntax error : missing ‘;’ before identifier ‘IProvideClassInfo2’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(94): error C2146: syntax error : missing ‘;’ before identifier ‘IProvideMultipleClassInfo’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(101): error C2146: syntax error : missing ‘;’ before identifier ‘IOleControl’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(108): error C2146: syntax error : missing ‘;’ before identifier ‘IOleControlSite’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(115): error C2146: syntax error : missing ‘;’ before identifier ‘IPropertyPage’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(122): error C2146: syntax error : missing ‘;’ before identifier ‘IPropertyPage2’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(129): error C2146: syntax error : missing ‘;’ before identifier ‘IPropertyPageSite’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(136): error C2146: syntax error : missing ‘;’ before identifier ‘IPropertyNotifySink’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(143): error C2146: syntax error : missing ‘;’ before identifier ‘ISpecifyPropertyPages’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(150): error C2146: syntax error : missing ‘;’ before identifier ‘IPersistMemory’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(157): error C2146: syntax error : missing ‘;’ before identifier ‘IPersistStreamInit’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(164): error C2146: syntax error : missing ‘;’ before identifier ‘IPersistPropertyBag’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(171): error C2146: syntax error : missing ‘;’ before identifier ‘ISimpleFrameSite’
C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(1573): error C2371: ‘IOleControlSite’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(108) : see declaration of ‘IOleControlSite’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(1729): error C2371: ‘IPropertyPage’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(115) : see declaration of ‘IPropertyPage’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(1911): error C2371: ‘IPropertyPage2’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(122) : see declaration of ‘IPropertyPage2’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(2079): error C2371: ‘IPropertyPageSite’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(129) : see declaration of ‘IPropertyPageSite’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(2191): error C2371: ‘IPropertyNotifySink’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(136) : see declaration of ‘IPropertyNotifySink’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(2291): error C2371: ‘ISpecifyPropertyPages’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(143) : see declaration of ‘ISpecifyPropertyPages’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(2373): error C2371: ‘IPersistMemory’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(150) : see declaration of ‘IPersistMemory’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(2532): error C2371: ‘IPersistStreamInit’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(157) : see declaration of ‘IPersistStreamInit’
1>C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(2660): error C2371: ‘IPersistPropertyBag’ : redefinition; different basic types
1> C:\Program Files\Windows Kits\8.0\Include\um\ocidl.h(164) : see declaration of ‘IPersistPropertyBag
What would be the causing this problem ? How to troubleshoot this problem ?