Added windows build info

This commit is contained in:
2018-11-04 09:12:36 +01:00
committed by GitHub
parent eee472dada
commit bcc9743d4e

View File

@ -26,16 +26,22 @@ pm.loadFromData(tileData, QString::number(zoom).toLatin1());
``` ```
## Build ## Build
Build requirements: ### Build requirements:
* QT 5.x * QT 5.x
* Google Protocol Buffers (protobuf-lite) * Google Protocol Buffers (protobuf-lite)
* Zlib * Zlib
Build steps: ### Build steps:
#### Linux
```shell ```shell
qmake pbfplugin.pro qmake pbfplugin.pro
make make
``` ```
#### Windows
```shell
qmake PROTOBUF=path/to/protobuf ZLIB=path/to/zlib pbfplugin.pro
make
```
## Install ## Install
Copy the plugin to the system Qt image plugins path to make it work. You may Copy the plugin to the system Qt image plugins path to make it work. You may