Exclude BMP from supported formats if it disabled by Qt build
authorPoul Sysolyatin <psytonx@gmail.com>
Mon, 21 Jan 2013 07:00:07 +0000 (14:00 +0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 29 Jan 2013 08:28:19 +0000 (09:28 +0100)
commit9d432881804edc3f680de610e40b669f97df6f9b
treea4c87d8c0254d0cd2deae0e6751051124e8db030
parent8995453263721507a4c923b905f50f800010d9ad
Exclude BMP from supported formats if it disabled by Qt build

If Qt build without BMP support, we need exclude this format
from output of QImageWriter::supportedImageFormats() and
QImageReader::supportedImageFormats() methods.

Task-number: QTBUG-27028

Change-Id: I44e8956247066c0836b1ff7bf9a1f356fe568af1
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/gui/image/qimagereader.cpp
src/gui/image/qimagewriter.cpp