In case anyone was wondering


Qt Code:
  1. QFile file(THE_RESOURCE); // This should never fail since its a resource
  2. QByteArray data = file.readAll();
  3. QTextCodec *codec = Qt::codecForHtml(data);
To copy to clipboard, switch view to plain text mode 

Bob