i'm creating qglwidget subclass initializegl . resizegl , paintg l. fine, can draw 2d graphivcs gluortho2d , 3d too. fine. now need draw text, no text rotation, no text deformations, no particular fonts. first trial glut engine program kept on crashing thought qglwidget glut not work in context. i've tried qpainter , remember use end() method , swapbuffers too, but.. nothing, text rendered opengl stuff no.. what easiest way draw text on qglwidget? i first rendering text qimage contents copy texture using gltexsubimage2d . draw textured quad. code actual project void displaytext(qstring const &text, bool render_text) { if(!text_texture) { glgentextures(1, &text_texture); } glactivetexture(gl_texture0); gltprintmultierror("glactivetexture"); glbindtexture(gl_texture_2d, text_texture); gltprintmultierror("glbindtexture"); int tex_width, tex_height; glgettexlevelparameteriv(gl_texture_2d, 0, g...