Commit Graph

36 Commits

Author SHA1 Message Date
Bart Louwers
cadb8d1da0 Move WeakPtrFactory in map_renderer.hpp (#2861) 2024-09-23 17:16:18 +02:00
mwilsnd
c4c75452b6 Add TaggedScheduler, couple lifetime of tasks and orchestrator (#2398) 2024-06-28 23:20:03 +02:00
Bart Louwers
a31e01dd25 Use std::variant for Database::tryOpen (#2481) 2024-06-11 16:45:24 +02:00
mwilsnd
4fff8a5d33 Asynchronous GeometryTile deletion (#2051)
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
2024-02-28 22:18:08 +00:00
Tadej Novak
3aacc0aae8 [qt] Only build core platform as part of main maplibre-native repo (#1740) 2023-11-21 17:13:04 +01:00
Alex Cristici
8ad5f9c1fd Benchmark app frame time improvements (#1776)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-03 23:03:52 +01:00
Tadej Novak
bb998a4fc5 Fix old Qt version support for usage in linux distributions (#1825) 2023-10-30 23:38:14 +01:00
Tadej Novak
39f0685368 [qt] Make WASM build run without crashes with latest Qt (#1709) 2023-10-14 12:20:12 +00:00
Stefan Karschti
76469a0c22 Drawable performance fixes (2) (#1610)
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-09-15 14:30:07 +00:00
mwilsnd
a288b1ffad Drawable CI Fixes (#1319)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Birk Skyum
78c91b8e71 Update remaining MapLibre GL to MapLibre Native (#1216) 2023-06-07 17:40:54 +02:00
Birk Skyum
288391cac2 Update style spec references (#1150) 2023-06-07 15:08:29 +02:00
Tadej Novak
bd91b2362a [qt] Make unit tests build and run (#1042)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-08 15:04:35 +02:00
pre-commit-ci[bot]
958cdb8206 [pre-commit.ci] pre-commit autoupdate (#1096)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-02 10:15:53 +02:00
Bart Louwers
71f6da2722 Add clang-format (#1086)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-05-01 16:57:37 +02:00
Birk Skyum
82f3f971f7 Rename MapLibre GL Native -> MapLibre Native (#1075) 2023-04-26 20:19:52 +02:00
Alex Cristici
8ff6704fc4 API links for OpenGL ES 3.0 (#1007)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-04-14 22:48:53 +02:00
Alex Cristici
d72cd766c8 Files prefix changed from MGL to MLN (#919) 2023-03-21 13:18:26 +01:00
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +02:00
tdcosta100
3bfc6c2c87 Make pointer to glGetString function const (#708) 2023-01-19 12:09:58 +01:00
Tadej Novak
90f5ef05fb [qt] Fix QThreadStorage cast (#664) 2023-01-08 11:45:15 +01:00
Dan Paulat
a59c876018 [qt] Support GeoJSON feature collection as std::list (#541) 2022-10-22 16:34:29 +02:00
Tadej Novak
1341f33ba4 Add ClientOptions to be able to pass around client name and version (#365)
* ClientOptions and Qt user agent

* Update CHANGELOG.md

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-08-13 15:36:50 +02:00
Oliver Wipfli
6bbeb9fd91 Use the MapLibre style spec docs website (#353) 2022-07-05 18:25:11 +02:00
Tadej Novak
5b3d936521 [qt] Rename QMapboxGL to QMapLibreGL (#338)
* Rename QMapboxGL to QMapLibreGL

* Add missing QDebug includes

* Fix Qt CMake config

* Fix geojson warning

* Remove redundant OpenGL dependency

* Put everything under QMapLibreGL namespace

* Reorganise headers

Co-authored-by: Rinigus <rinigus.git@gmail.com>
2022-07-03 20:30:46 +02:00
Tadej Novak
9cd70bfe7f Qt build improvements and documentation (#277)
* Qt build improvements and documentation

* Update include/mbgl/actor/actor_ref.hpp

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-06-16 20:52:52 +02:00
rinigus
e1cd6f829f [qt] Set defaultStyles to const (#240) 2022-02-20 18:29:27 +01:00
kiibimees
747eb3a440 [qt] Build improvements and better handling of map settings (#197)
* QMapboxGLSettings functions for changing default options and getting default styles

* [qt] allow to build without widgets and other cmake improvements

* [qt] Install include/mbgl for development

* [qt] library static/shared install+export

* [qt] Add missing mbgl-compiler-options dependency for 'qmapboxgl'

* [qt] Raise CMAKE_OSX_DEPLOYMENT_TARGET from 10.13 to 13.0

* [qt] Add Qt::Sql dependency also to the final library. Build qmapboxgl as OBJECT lib inside QtLocation plugin.

* Remove Qt::Sql dependency from 'qmapboxgl'. Not really needed.

* Set CMake config files path back to ${CMAKE_INSTALL_LIBDIR}/cmake/QMapboxGL/

* [qt] Set CMAKE_OSX_DEPLOYMENT_TARGET only if it is not yet set

* [qt] Support CMake v3.11 and earlier versions

* [qt] Comment out 'iOS_static' from CI until it is fixed.

Co-authored-by: Rinigus <rinigus.git@gmail.com>
2022-02-14 17:18:29 +01:00
Tadej Novak
5c2414463f [qt] Move to modern signal/slot connection mechanism (#138) 2021-08-29 22:54:07 +02:00
Tadej Novak
fe041b80ca [msvc] Fix compilation errors and warnings (#141) 2021-08-29 22:53:42 +02:00
Dan Paulat
8b804a1903 maplibre support for Qt6 and MSVC 2019 (#125)
* [qt] Updating CMake project files for Qt6

* [qt] Updating non-test projects for Qt6 and msvc2019

* [qt] Test fixes for Qt6 and msvc2019

* [qt] Link whole test archive for Qt and msvc2019

* [qt] Fixing Qt6 headless backend renderer

* [qt] Fixes for test failures

* [qt] Expression and style parser test fixes

* [qt] Backwards compatibility with Qt5 and Qt6

Minimum version is Qt 5.4 due to use of QOpenGLWidget

* [qt] LLVM is no longer required for a Windows build

* [msvc] msvc2019 fixes for maplibre

* Update test/storage/offline_database.test.cpp

Co-authored-by: Tadej Novak <tadej@tano.si>

* Vector + const is not standard C++

Co-authored-by: Tadej Novak <tadej@tano.si>
2021-08-07 11:10:45 -04:00
Tadej Novak
aef3d4dd74 [qt] Deprecation warnings and Qt compatibility fixes (#118)
* [qt] Fix compilation of the sqlite wrapper

* [qt] Fix QImage-related warnings

* Update Qt redirection handling

Since 5.9 RedirectPolicyAttribute is preferred, and from 6.0 the
behavior of NoLessSafeRedirectPolicy is the default.

* [qt] Fix more deprecation warnings

Co-authored-by: Mårten Nordheim <morten242@gmail.com>
2021-07-16 09:52:48 +02:00
Tadej Novak
1fea606676 [qt] Ignore status code with 'data' URLs (#119) 2021-07-09 12:24:36 +02:00
Tadej Novak
6be1249a19 [qt] Update for tile server configuration changes (#102) 2021-07-07 14:03:39 +02:00
Nuno Goncalves
6128a97c9a [qt] add missing const (#72)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-04 19:50:19 +02:00
Petr Pokorny
41f0be34e7 [general] moving ios and android project under ./platform folder 2020-12-20 12:38:56 +01:00