qt学习

在一个标签上显示一张矢量像素图片  



   //
The QImageReader class provides a format independent interface for reading images from files or other devices. //Constructs a QImageReader object with the device device and the image format format. QImageReader reader(&buffer,"JPG"); QImage img = reader.read();


 

posted @ 2018-06-23 16:39  confusion  阅读(127)  评论(0编辑  收藏  举报