title: Qt + protobuf, types?
body: <p>I would like to dip into Google's protocol buffers in Qt development, but I am having trouble figuring out how to incorporate them best.</p>
  
  <p>Ultimately, I want to send with <code>QUdpSocket</code> and <code>QTcpSocket</code> using protocol buffers.</p>
  
  <p>What is the best method for going between a protocol buffer <code>message</code> to sending the data over a socket (<code>QByteArray</code>) and then back again at the other side?</p>