1 Debian patch touch this file
-
reject broken MNG images
- Origin
- upstream: https://codereview.qt-project.org/c/qt/qtbase/+/303313 For backport to Qt 5.15, add these checks directly to qtimageformats, not qtbase.
| 1 | TARGET = qmng |
| 2 | |
| •3 | QT += gui-private |
| 4 | HEADERS += qmnghandler_p.h |
| 5 | SOURCES += main.cpp \ |
| 6 | qmnghandler.cpp |
| 7 | OTHER_FILES += mng.json |
| 8 | |
| 9 | include($$OUT_PWD/../../../imageformats/qtimageformats-config.pri) |
| 10 | QT_FOR_CONFIG += imageformats-private |
| 11 | |
| 12 | QMAKE_USE_PRIVATE += mng |
| 13 | |
| 14 | PLUGIN_TYPE = imageformats |
| 15 | PLUGIN_CLASS_NAME = QMngPlugin |
| 16 | load(qt_plugin) |