Can't help on the QT part, but I have an idea on the MSVC2010 part. I suspect that WINVER is not getting set anywhere in this case. See what happens if you set WINVER to 0x0600 (for Vista+ support). You can set that in the project, or in windows/config.h. I am assuming that you don't need to be able to target WinXP or Server 2003 since you commented out the TARGET_WIN_XP stuff.
> Also I'm trying to build MV2010 project included in 0.9.1 ver. And if I > comment out the "# define TARGET_WIN_XP 1" part, I'm getting these > errors(boost source included in path): > > 1> TWinsockSingleton.cpp > 1>c:\users\buzzy\desktop\thrift2\thrift-0.9.1\lib\cpp\src\thrift > \windows\winfcntl.h(45): > error C2065: 'thrift_pollfd' : undeclared identifier > 1>c:\users\buzzy\desktop\thrift2\thrift-0.9.1\lib\cpp\src\thrift > \windows\winfcntl.h(45): > error C2065: 'fdArray' : undeclared identifier > 1>c:\users\buzzy\desktop\thrift2\thrift-0.9.1\lib\cpp\src\thrift > \windows\winfcntl.h(45): > error C2275: 'ULONG' : illegal use of this type as an expression > 1> c:\program files (x86)\microsoft > sdks\windows\v7.0a\include\windef.h(48) : see declaration of 'ULONG' > 1>c:\users\buzzy\desktop\thrift2\thrift-0.9.1\lib\cpp\src\thrift > \windows\winfcntl.h(45): > error C2146: syntax error : missing ')' before identifier 'nfds' > 1>c:\users\buzzy\desktop\thrift2\thrift-0.9.1\lib\cpp\src\thrift > \windows\winfcntl.h(45): > error C2078: too many initializers > 1>c:\users\buzzy\desktop\thrift2\thrift-0.9.1\lib\cpp\src\thrift > \windows\winfcntl.h(45): > error C2275: 'ULONG' : illegal use of this type as an expression > 1> c:\program files (x86)\microsoft > sdks\windows\v7.0a\include\windef.h(48) : see declaration of 'ULONG' > 1>c:\users\buzzy\desktop\thrift2\thrift-0.9.1\lib\cpp\src\thrift > \windows\winfcntl.h(45): > error C2059: syntax error : ')' > 1> SocketPair.cpp > .... > > Could someone help me here, I'm completely lost. Thank you.
