summaryrefslogtreecommitdiff
path: root/platform/qt/platform.gyp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-01-19 18:34:32 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-20 20:55:51 +0300
commit01b06c230174e1088d1703d67d92072ab72d9a02 (patch)
tree0ded8f35d75f12bec50bc0257356005fc8dd4fb3 /platform/qt/platform.gyp
parent8ff17ffc9af865b1a1735e4759d234c7e62ba79e (diff)
downloadqtlocation-mapboxgl-01b06c230174e1088d1703d67d92072ab72d9a02.tar.gz
[Qt] WebP support
Diffstat (limited to 'platform/qt/platform.gyp')
-rw-r--r--platform/qt/platform.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/qt/platform.gyp b/platform/qt/platform.gyp
index 41b4c7ad4a..10f69c4a61 100644
--- a/platform/qt/platform.gyp
+++ b/platform/qt/platform.gyp
@@ -42,6 +42,7 @@
'../default/sqlite3.cpp',
'../default/string_stdlib.cpp',
'../default/thread.cpp',
+ '../default/webp_reader.cpp',
'include/qmapbox.hpp',
'include/qmapboxgl.hpp',
'qmapbox.qrc',
@@ -70,6 +71,7 @@
'<@(rapidjson_cflags)',
'<@(sqlite_cflags)',
'<@(variant_cflags)',
+ '<@(webp_cflags)',
'-Wno-error', # TODO: eliminate
'-fPIC',
],
@@ -78,11 +80,13 @@
'<@(opengl_ldflags)',
'<@(qt_ldflags)',
'<@(sqlite_ldflags)',
+ '<@(webp_ldflags)',
'<@(zlib_ldflags)',
],
'libraries': [
'<@(nunicode_static_libs)',
'<@(sqlite_static_libs)',
+ '<@(webp_static_libs)',
'<@(zlib_static_libs)',
],
},