Hi, I cannot show my project as it is proprietary, but you can implement it exactly as I described above.
Simplest form, just create the override in the same header to the class you have your socket, then just create a socket as you normally would, pass it into a BufferedInputStreamWrapper as I showed, and then you connect readyRead to whatever function you want to parse your data and call the ::capnp::PackedMessageReader reader(*bufferedInputStreamWrapper); in that function.
This only works if the amount of data you are sending is small and doesn't trigger multiple readyReads, which I painfully found out the hard way. I have not yet made a KJ eventloop integration, as I don't really know how.
I will honestly most likely abandon QTcpSocket for this project and use another socket library, like Poco where this is not an issue.