Commit Graph

38 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
8b9f84d815 [Qt] Add toolchain support
Enables cross-compilation.
2016-04-25 16:44:28 +03:00
Bruno de Oliveira Abinader
db9f305b49 [Qt] Force lib install name to be executable path on OS X 2016-04-25 16:19:03 +03:00
Thiago Marcos P. Santos
1abad528af [Qt] Do not ignore compilation errors
But will no longer build with GCC 5.
2016-04-25 15:32:39 +03:00
Thiago Marcos P. Santos
5c3ae4c3d6 [Qt] Only include and link with QMapboxGL lib
Fixes #4808
2016-04-25 15:26:30 +03:00
Thiago Marcos P. Santos
d00f55de41 [Qt] Do not use non-Qt headers 2016-04-25 15:00:14 +03:00
Thiago Marcos P. Santos
a65c9ca134 [Qt] Set default visibility to hidden for Qt
Expose less symbols on the shared library.

Fixes #4809
2016-04-25 14:15:04 +03:00
Bruno de Oliveira Abinader
3ee9d12013 [Qt] Remove duplicated mbgl::Map initialization 2016-04-21 17:33:07 +03:00
Bruno de Oliveira Abinader
d46982be2b Merge pull request #4773 from mapbox/travis-qt5
[build] Added Qt 5 build for Travis CI
2016-04-21 11:02:00 +03:00
Konstantin Käfer
e5c829b38c [Qt] use libjpeg-turbo rather than Qt's built-in JPEG decoding
libjpeg-turbo is typically 2-4x faster than the built-in decoding.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
01b06c2301 [Qt] WebP support 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
8ff17ffc9a [Qt] Expose {add,remove}CustomLayer 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
0d4ccd4e44 [Qt] Expose QMapboxGL::updatePointAnnotation 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
fa6421a56f [Qt] Implement QMapboxGL::jumpTo 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
459e72d72a [Qt] Expose API to go full offline/online 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
e974dd282d [Qt] Add function for get coordinates and zoom based on a bounding box 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
19e1129367 [Qt] Add the QMapbox header with QMapbox datatypes 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
dd075d53ed [Qt] Added pitch property 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
1ea7bde065 [Qt] Add support for margins 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
f83b8d8ea4 [Qt] Do not use Mapbox GL animations
Let animations to QPropertyAnimation so it can sync with other
Qt animations and let the user define the easing curve Qt-style.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7d863d259a [Qt] Added {Map,GLContext,Constrain}Mode settings 2016-04-20 20:55:51 +03:00
Konstantin Käfer
41dd14d208 [Qt] expose NorthOrientation 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
cb52a78542 [Qt] Define the viewport size before rendering 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
5482a46a04 [Qt] Wire up connection established signal 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
efb96e80ec [Qt] Use Qt resources for bundling the certificates 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
b9bbe68fe0 [Qt] Introduce --test
Run a simple test and print some stats.
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
1d98f7eff7 [Qt] Fix ambiguous call to Mapbox GL API 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
a98c82f6e3 [Qt] Use toStdString() to convert QString into std::string 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
0e6cc4006f [Qt] Forward annotations functions
Support for custom style properties in shape annotations will be
implemented in the future.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
814a12a63c [Qt] Forward style{JSON,URL} getters 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
01d50b7bd2 [Qt] Forward style class functions 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
b2cd18a550 [Qt] Forward toggleDebug() from mbgl::Map 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
2d156ec6a9 [Qt] Forward scale setter/getter 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
c8c69f1d2a [Qt] Build the Qt port 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
029f9f0883 [Qt] Introduce the Qt HTTPRequest and HTTPFileSource 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
e93d51c922 [Qt] Implement the AsyncTask, Timer and RunLoop using Qt
Now Mapbox GL will handle events using Qt as backend
instead of libuv.
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
2af3863b57 [Qt] Use QImage for decompressing images
Needs to explicitly define the target platform,
otherwise it will use linux/osx.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7a44b95627 [Qt] Add a Qt app example
Should build and run with `make run-qt`

Signed-off-by: Bruno Abinader <bruno@mapbox.com>
Signed-off-by: Thiago Marcos P. Santos <thiago@mapbox.com>
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
854b3bc39b [Qt] Add a Qt wrapper aroung mbgl::Map
Signed-off-by: Bruno Abinader <bruno@mapbox.com>
Signed-off-by: Thiago Marcos P. Santos <thiago@mapbox.com>
2016-04-20 20:55:51 +03:00