Triangles wron painted


i ported my glew project to Qt. But for some reason the triangles are wrong positioned. I looked at the data via debugger and all the vertices and indices are correctly. But it’s wrong painted.

I hope you can help me and find the problem.

I don’t know how to describe how it actually looks like. Best way is, you download the source and build the program.