在一个标签上显示一张矢量像素图片
//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();