PDA

View Full Version : VS 2005 CLR wrapper library error compilation C2182



soniaerm
27th April 2010, 16:15
Hi,All
I am using VS 2005 for build the CLR wrapper library of QT Body. I checked the QT example "..\activeqt\dotnet\wrapper"
and build my project by this example. All was fine till I add the #include <QtNetwork> statement to one of my .cpp files.
I get many errors: "error C2182: 't' : illegal use of type 'void' c:\qt\2010.02.1\qt\src\corelib\tools\qvector.h".

I tried to include this row to QT example "..\activeqt\dotnet\wrapper" and get the same.

What is wrong?

Thanks for help.