chat server written in qt