I am extracting thumbnails of files from Windows in a secondary thread and the output is an HBITMAP. Now I got to convert this to QImage to send it back to the main thread. As you might already know, using QPixmap in non-gui threads results in runtime errors and a compile-time warning. I know because I did try to use it, and it gave me random errors.I am extracting thumbnails of files from Window