Commit Graph

37 Commits

Author SHA1 Message Date
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
Bart Louwers
39df4fc2f6 Improve README (#673) 2023-01-12 01:42:09 +01:00
Tadej Novak
0f568a5f2e [qt] Force enable moc for Qt6 (#665) 2023-01-08 13:32:36 +01:00
Tadej Novak
28e21a2aae Update to Qt 6.4.2 (#663) 2023-01-08 11:59:51 +01:00
Tadej Novak
90f5ef05fb [qt] Fix QThreadStorage cast (#664) 2023-01-08 11:45:15 +01:00
Tadej Novak
38dd987b08 Update automated builds to use Qt 6.4.1 (#559) 2022-11-19 09:39:16 +01:00
Tadej Novak
e64b5b111b [qt] Add a test for library usage (#538) 2022-10-24 08:39:08 +02:00
Dan Paulat
a59c876018 [qt] Support GeoJSON feature collection as std::list (#541) 2022-10-22 16:34:29 +02:00
Tadej Novak
66d9acba07 Fix bitcode on iOS for nunicode (#517) 2022-10-04 11:46:51 +02:00
Tadej Novak
368b37a1ce Fix issues with Qt release tarballs (#486) 2022-09-18 19:37:42 +02:00
Tadej Novak
a0d28ee958 Prepare Qt release workflow (#477)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-09-13 21:55:16 +02:00
Tadej Novak
53f39f511d Modernised Qt Windows CI (#469) 2022-09-13 19:31:01 +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
kiibimees
a261c59b23 [qt] Don't add import/export when building inside Qt plugin. (#394) (#395)
[qt] Do not add import/export into headers when building inside Qt plugin. (#394)

Co-authored-by: Tadej Novak <tadej@tano.si>
2022-08-13 11:12:32 +02:00
Dominik Nussbaumer
3ec6bc5c37 Wrap forward declared Qt classes with Qt namespace macros (#373)
Wrap forward declared Qt classes with QT_BEGIN_NAMESPACE and QT_END_NAMESPACE
2022-08-06 17:26:13 +02:00
Tadej Novak
c75b70c690 [qt] Add QMapLibreGL common header (#370) 2022-07-16 14:09:37 +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
Oliver Wipfli
eca80dbc05 Replace Mapbox with MapLibre in README titles (#297) 2022-06-06 11:42:17 +02:00
Tadej Novak
59fa32e96a [qt] Build with WebAssembly (#256) 2022-03-15 13:22:11 +01: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
05836553f1 [qt] Initial CI pipeline (#221) 2022-01-28 11:43:46 -08:00
srcejon
2d110ddd7c Update Windows build instructions in platform/qt/README.md (#180) 2021-12-02 16:03:28 +01:00
Tadej Novak
66f32106a9 [qt] Improve CMake setup (#159) 2021-10-19 08:51:14 -07: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
Nuno Goncalves
f0c3ba6fe2 [qt] add missing source file (#74)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-04 19:49:08 +02:00
Petr Pokorny
41f0be34e7 [general] moving ios and android project under ./platform folder 2020-12-20 12:38:56 +01:00