Hi,

I am working on a project in witch I need to display jpg files (about 4Mo each).

I would like to be able to be able to load the next few files in a thread so the UI doesn't freeze.
My problem is that I use a QPixmap on a QWidget to display those jpg and, apparently, Pixmap shouldn't be used outside the main thread.
Therefore I'm stuck.

Is there anyway to load the file from the HDD to the memory and then use the data (in which type?) to build my Pixmap in the main thread?

If anyone has a suggestion as to how to load a big .jpg file in a thread, please let me know!

Thx