Hi, I'm trying to draw a rect in myGLWidget; it seems work; but I can see rect while I rotate the scene with mouseMove (and paintGL starts evey time I move mouse). Why this?
Qt Code:
//paintGL painter->drawRect(10,10,50,50);To copy to clipboard, switch view to plain text mode
Bookmarks