src/plugins/imageformats/webp/webp.pro
raw| 1 | TARGET = qwebp |
| 2 | |
| 3 | HEADERS += qwebphandler_p.h |
| 4 | SOURCES += main.cpp qwebphandler.cpp |
| 5 | OTHER_FILES += webp.json |
| 6 | |
| 7 | include($$OUT_PWD/../../../imageformats/qtimageformats-config.pri) |
| 8 | QT_FOR_CONFIG += imageformats-private |
| 9 | |
| 10 | qtConfig(system-webp) { |
| 11 | QMAKE_USE += webp |
| 12 | } else { |
| 13 | include($$PWD/../../../3rdparty/libwebp.pri) |
| 14 | } |
| 15 | |
| 16 | PLUGIN_TYPE = imageformats |
| 17 | PLUGIN_CLASS_NAME = QWebpPlugin |
| 18 | load(qt_plugin) |