Well, my original post was mainly directed to the creation of the multiplexer itself, but it seems that I have to tailor a solution by myself.

Thanks anyway, I will consider creating a QIODevice to pipe (and multiplex).