Added missing zlib build requirement

This commit is contained in:
Martin Tůma 2018-11-01 23:29:53 +01:00 committed by GitHub
parent abbdebe6c1
commit 5e43e1042a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ OpenMapTiles is part of the plugin.
## Usage ## Usage
Due to a major design flaw in the Mapbox vector tiles specification - the zoom Due to a major design flaw in the Mapbox vector tiles specification - the zoom
is not part of the PBF data - the plugin can not be used "as is", but passing is not part of the PBF data - the plugin can not be used "as is", but passing
the zoom level is necessary. This is done by exploiting the optional format the zoom level is necessary. This is done by exploiting the optional *format*
parameter of the QImage constructor or the QImage::fromData() or parameter of the QImage constructor or the QImage::fromData() or
QPixmap::loadFromData() functions. The zoom number is passed as ASCII string QPixmap::loadFromData() functions. The zoom number is passed as ASCII string
to the functions: to the functions:
@ -29,6 +29,7 @@ pm.loadFromData(tileData, QString::number(zoom).toLatin1());
Build requirements: Build requirements:
* QT 5.x * QT 5.x
* Google Protocol Buffers (protobuf-lite) * Google Protocol Buffers (protobuf-lite)
* Zlib
Build steps: Build steps:
```shell ```shell