Qt 5.6 drops support for the MNG format

This commit is contained in:
Kovid Goyal 2016-03-28 15:02:19 +05:30
parent a067cd6b64
commit ccdd4cc36d

View File

@ -136,7 +136,7 @@ def test_qt():
if len(QFontDatabase().families()) < 5: if len(QFontDatabase().families()) < 5:
raise RuntimeError('The QPA headless plugin is not able to locate enough system fonts via fontconfig') raise RuntimeError('The QPA headless plugin is not able to locate enough system fonts via fontconfig')
fmts = set(map(unicode, QImageReader.supportedImageFormats())) fmts = set(map(unicode, QImageReader.supportedImageFormats()))
testf = set(['jpg', 'png', 'mng', 'svg', 'ico', 'gif']) testf = set(['jpg', 'png', 'svg', 'ico', 'gif'])
if testf.intersection(fmts) != testf: if testf.intersection(fmts) != testf:
raise RuntimeError( raise RuntimeError(
"Qt doesn't seem to be able to load its image plugins") "Qt doesn't seem to be able to load its image plugins")