simple C++ projects, multithreading, qt, and sockets