2010年10月28日 星期四

Use winsock2 in QT

The Qt-SDK comes with a WinSock2-Library, called libws2_32.a .
The only thing you have to do, is to enter this line in your .pro .

LIBS += C:\Qt\2009.04\mingw\lib\libws2_32.a