summaryrefslogtreecommitdiff
path: root/platform/qt/README.md
diff options
context:
space:
mode:
authorSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2018-08-03 10:44:57 +0300
committerSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2018-08-07 15:50:14 +0300
commitdfb93250570aec583f5aa8dcc1f23d3ba0a76f12 (patch)
tree18c5b1ca6207f080e07690c1a5801a9d5302d945 /platform/qt/README.md
parenta6bd60fd57f66e7c6e8e5e47f43ca7167a6a7bae (diff)
downloadqtlocation-mapboxgl-dfb93250570aec583f5aa8dcc1f23d3ba0a76f12.tar.gz
[Qt] Add CMake toolchain for QNX platform
This adds CMake toolchain for QNX platform. By using this toolchain, we can compile Mapbox GL Plugin for Qt on QNX platform.
Diffstat (limited to 'platform/qt/README.md')
-rw-r--r--platform/qt/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/platform/qt/README.md b/platform/qt/README.md
index 42906ec3cd..3cb49c2ff3 100644
--- a/platform/qt/README.md
+++ b/platform/qt/README.md
@@ -51,6 +51,28 @@ At runtime, you will also need installed:
- [OpenSSL 1.0.2+](https://slproweb.com/products/Win32OpenSSL.html)
- DirectX
+#### QNX 7.0
+
+To build for QNX 7.0, you need to install the QNX Software Development Platform (SDP) on a Linux host.
+
+http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.qnxsdp.nav/topic/bookset.html
+
+After installing the SDP, you need to source the QNX environment script:
+
+```
+source <SDP_DIRECTORY>/qnxsdp-env.sh
+```
+
+You also need to Build Qt for QNX.
+
+http://wiki.qt.io/Building_Qt_for_QNX_Neutrino_OS
+
+After building Qt for QNX, you need to add Qt installation's bin directory to the path.
+
+```
+export PATH=<INSTALLFOLDER>/bin:$PATH
+```
+
### Build instructions
Public API headers can be found in the [platform/qt/include](include) directory.
@@ -79,3 +101,11 @@ $ cd build
$ cmake -G "Visual Studio 14 2015 Win64" -T LLVM-vs2014 -DMBGL_PLATFORM=qt -DWITH_QT_DECODERS=ON -DWITH_QT_I18N=ON -DWITH_NODEJS=OFF ..
$ cmake --build . --config Release --target qmapboxgl -- /m
```
+
+#### QNX 7.0
+
+Building the repository for QNX 7.0 is very similar to other platforms (e.g. Linux and macOS).
+
+```
+$ make qnx-qt-lib # Will build libqmapboxgl.so
+```