diff options
author | Eirik Aavitsland <eirik.aavitsland@theqtcompany.com> | 2016-03-11 11:41:14 +0100 |
---|---|---|
committer | aavit <eirik.aavitsland@theqtcompany.com> | 2016-03-15 08:15:22 +0000 |
commit | a71771a1d7ac6b83e4ddd4163e9797f440f2f3fb (patch) | |
tree | 6742a47856b61f25187c0d32bbf7a7db76cdb8d0 | |
parent | 495e1861869b2168fdccfd2ff0282e56d852c7cb (diff) | |
download | qtimageformats-a71771a1d7ac6b83e4ddd4163e9797f440f2f3fb.tar.gz |
webp: fix linking error with system library
If using system libwebp, we now need to link with webpdemux too. That
was added to the config test, but not the plugin itself.
Change-Id: Ib386632570c389dfd2429de6e9f7de29d04ac472
Reviewed-by: Dayang Shen <Archangel.SDY@gmail.com>
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
-rw-r--r-- | src/plugins/imageformats/webp/webp.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/imageformats/webp/webp.pro b/src/plugins/imageformats/webp/webp.pro index 515bc3e..405c3b7 100644 --- a/src/plugins/imageformats/webp/webp.pro +++ b/src/plugins/imageformats/webp/webp.pro @@ -5,8 +5,8 @@ SOURCES += main.cpp qwebphandler.cpp OTHER_FILES += webp.json config_libwebp { - unix|win32-g++*: LIBS += -lwebp - else:win32: LIBS += libwebp.lib + unix|win32-g++*: LIBS += -lwebp -lwebpdemux + else:win32: LIBS += libwebp.lib libwebpdemux.lib } else { include($$PWD/../../../3rdparty/libwebp.pri) } |