on Fremantle (where the rotation is done by h-d) it works in both cases. It seems on Harmattan GL coordinate system is rotated on orientation change, which should not happen aiui. Or there is some bug in Qt. Maybe an additional runtime check is needed to workaround this. Or some ifdef specific to harmattan.