Add more Qt dependencies (network...) for the various components.
Temporary commit (with code example).

Will be cleaned/splitted later. Not tested with cpplint.