Hi,
I'm working on a raytracer. As that's a very cpu-heavy process, I'd like to run the raytracer itself in a seperate thread. Is it possible to write from the thread directly to a QImage (which is displayed in the gui), so you can see the picture being created? Or isn't that safe and do I have to pass the new pixel data via signals/slots to the gui thread?
And how do I display the QImage? With a QLabel (or is that only for QPixmap)
Thanks in advance for helping out a newbie =)
Bookmarks