Qt OpenGL , problem with VAO/VBO
This post is deleted!
What you want to do is possible, and how I'm rendering my scenes. I have a single plot widget and multiple plot items that can be added. Each plot item in my implementation is its own class with its own shaders and buffer objects. I loop through all the draw methods in paintGL and pass the MVP matrix also (a camera object in my case)
So, maybe only slightly helpful -- but the problem is somewhere in your code. :)
the code i posted is minimal nothing complex there , i know it it's possbile i'm used to openGL programming but not with Qt. thank you anyway