I was given a project but I can not understand

# --- LIBS win32:LIBS += -lws2_32 else:LIBS += -lpthread 

what are these libraries for? And the project was written on Windows 7 (32) and I have the form 10 (64 bits). Do these libraries in Windows 10? Qt b visual studio is the same.

  • win32 in a curious .pro file, this is generally the whole Windows family, not just 32 bits, imnip. - αλεχολυτ

1 answer 1

ws2_32 is for ws2_32.dll, a library for working with sockets in Windows. Included with the Studio is. pthread - POSIX threads, in the delivery of Windows, as far as I know, it is not.