summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/webp/webp.pro
blob: cea7c78013b5665a845a2c19fe7ea31c20eb0da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TARGET  = qwebp

HEADERS += qwebphandler_p.h
SOURCES += main.cpp qwebphandler.cpp
OTHER_FILES += webp.json

include($$OUT_PWD/../../../imageformats/qtimageformats-config.pri)
QT_FOR_CONFIG += imageformats-private

qtConfig(system-webp) {
    QMAKE_USE += webp
} else {
    include($$PWD/../../../3rdparty/libwebp.pri)
}

PLUGIN_TYPE = imageformats
PLUGIN_CLASS_NAME = QWebpPlugin
load(qt_plugin)