mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Qt 5.6 drops support for the MNG format
This commit is contained in:
parent
a067cd6b64
commit
ccdd4cc36d
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user