Search code examples
c++qtopenglfontsftgl

Looking for example using FTGL and Qt (OpenGL)


i need to do simple application that render 3d fonts to image. the recommended lib is FTGL , how can i combine it with 3dQt?


Solution

  • OpenGL doesn't care whether you are using Qt, glut, SDL or anything else. Therefore, find an OpenGL example for Qt, then find an example using FTGL library, and combine the two by starting from the Qt OpenGL example, and add the code to initialize FTGL library and try to render some text.

    PS Unfortunately, I do not have such example, but it should be straight forward.