Blender with OpenGL

I want to design an object in Blender and then export it to OpenGL to use it with QT,
I heard about Python script or ASCII format,
but I don’t know how to do that,
so any help in porting Blender objects or surface to OpenGL in appreciated.