(very bad OO programming on the stellarium guys part. You *never* use "switches" on class hierarchies. And indeed, this broke compatibility with newer qt in the stupidest way possible, when the type changed from OpenGL to OpenGL2....