I dont think this will work for you, but in a QGLWidget I actually just render 2D text with
font.setPointSize(10);
renderText(x,y,z,"some text",font);
QFont font;
font.setPointSize(10);
renderText(x,y,z,"some text",font);
To copy to clipboard, switch view to plain text mode
this is somewath powerfull because QFont gives a lot of text format options. I have no experience in using Qt with MFC, I am assuming you're using visual studio integration, so I dont know if this renderText will work for you. Good look.
Bookmarks