在我们定制的Linux平台上,对jpg图片调用QImageReader :: imageFormat (filename), 返回值为空字符串(empty string),
QT的帮助上说:
If supported, this function returns the image format of the file fileName. Otherwise, an empty string is returned.
同样的,对jpg图片调用 QImage :: load(filename), 返回值为false(bool 值),
QT的帮助上说:
Loads an image from the file fileName. Returns true if the image was successfully loaded; otherwise returns false.
但对BMP图片都是ok的,请问出现这种情况的原因到底与什么有关系?在此先谢!