at least following diff need to be applied, I think. ie, "lsocket" need to be typed as "-lsocket".

< # LIB += -lsocket
---
> # LIB += lsocket

tj yang