阅读背景:

在不使用QPixmap的情况下将HBITMAP转换为QImage。

来源:互联网 

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




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: