Calling the render funciton issue
I have a class defined separately from glwidget which renders the points from already saved data.
When i call that function from glwidget class paintGL() it works fine, but when I call that function from a button trigger event from mainwindow.h nothing happens, and the points are not rendered. Though the file read function works fine with the trigger action. Can anyone help me?
Button trigger event
GLWidget *widget = this->findChild<GLWidget *>("glwidget");