I think your approach is well thought, altough I don't find the difference with my multiple instances of a handler class (SocketHandler) except that it's not a socket (it does not inherit QLocalSocket) but QLocalSocket is composited as a member variable.
I believe it's not related to the disconnection (and pipe-handle leaking) problem, but who cares, I will try your idea.
Bookmarks