but I thought QTcpSocket where made in order to communicate (send and receive) with other process.
Correct
And you have two processes that need to comunicate - so isn't it a job for a socket?
QTcpSocket connection cause she takes lots of memory
What makes you think that?