Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Calling the render funciton issue
Mike_newbye last edited by
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");