I have a GUI thread where the QOpenGLWidget object is created. I use another thread to process data and generate RGBA values for an image.
I cannot call the QOpenGLWidget object in the data processing thread.
How can I send data from the data processing thread to the QOpenGLWidget object?
(The data processing thread is created using boost, so I cannot use moveToThread()
which requires QThread)