summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add changes file for Qt 5.15.2v5.15.25.15.2Antti Kokko2020-11-021-0/+48
| | | | | | | | | | | | | - 4ea38f51051adb290e414981e3dc2be67d50fcab Add changes file for Qt 5.15.1 + 3e9d5379f4db89413cb50e928857dbd852755087 Add actual text of Boost Software License + 4fdb479bbbb946d825b7d908527651c4bf37091c Update src/3rdparty/mapbox-gl-native + 64c608f72f0ffe253d37eefb56b465e70465bb05 Use RedirectPolicyAttribute instead of FollowRedirectsAttribute + 023d51d8bea80771db1f2767a0bc6ff98e16ae71 Bump version + 9ac778b23aa77c62470efcd6bb3afe57576c0aa7 Make names of poly2tri, clipper, clip2tri libraries unique Pick-to: dev 5.15 Change-Id: I728895c80ec546017a2dfc2bd1fd112e06257ddf Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Make names of poly2tri, clipper, clip2tri libraries uniqueKai Koehne2020-10-026-7/+7
| | | | | | | | | | | | | | | This avoids conflicts for static builds, where the system might also provide a clipper2tri, clipper, or poly2tri library. [ChangeLog][General] The generated clipper2tri, clipper, poly2tri libraries have been renamed to qt_clipper2tri, qt_clipper, qt_poly2tri. This avoids conflicts for static builds. Fixes: QTBUG-86248 Change-Id: I38261633acef1d3be0cb5b67b3b5bf3262258a95 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 6b2cf7e9d150b7be709fcd688c5045949cedc3d9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump versionJani Heikkinen2020-09-281-1/+1
| | | | Change-Id: I9c717db510c375ae1e758398c43df3ee57ab3595
* Use RedirectPolicyAttribute instead of FollowRedirectsAttributeMårten Nordheim2020-09-152-2/+2
| | | | | | | Because we want to deprecate FollowRedirectsAttribute Change-Id: I3453b120a442dea3624ff2a3f49a2eb565bde762 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Update src/3rdparty/mapbox-gl-nativeKai Koehne2020-09-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Take in commits d3101bbc2 Update Qt redirection handling 5dbbb966f [qt] Remove libc++ attribution 9d155e652 [qt] Document deps/optional dependency 255935c14 [qt] Add zlib to mapbox-gl license a7f15a826 [qt] Improve third-party license documenation [ChangeLog][Third-Party Code] Update and extend third-party documentation for Mapbox GL plugin dependencies: libc++, Optional, Mapbox GL Native, Boost, CSS Color Parser, cURL Parse Date, Earcut Polygon Triangulation Library, geojson-cpp, geojson-vt-cpp, geometry.hpp, kdbush.hpp, polylabel, protozero, RapidJSON, shelf-pack-cpp, supercluster.hpp, tao_tuple, unique_resource, variant, Vector Tile Library, Wagyu Geometry Processing Library, nunicode. Change-Id: Icb55f9aaa2d96dd973aced90a73208eb8c0be209 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit 7769ea903f87efc4ad55530a2749f104eddff2e4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add actual text of Boost Software LicenseKai Koehne2020-08-261-0/+27
| | | | | | | | | | [ChangeLog][Third-Party Code] Added actual license text of Boost Software License (used in Clipper Polygon Clipping Library) Change-Id: Ie4bfc92541eaac3844a8a75044e2ba60a89adaaa Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit e69a08a91334df9830d196c48b24f487775e798f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add changes file for Qt 5.15.1Antti Kokko2020-08-261-0/+20
| | | | | | | | | | | | | | | | | | | + 3efe2e302e49e5e03c96e733ce39a59e8072546f Add missing "override" + 4b6fae67f3889837b37711b65ac21dfc8e8893c2 Remove unused variable + 81e0e5990b1bfec4fcbe49bc37471223fa7a16f1 Fix developer-build with clang 7 + 197f2bcf42be6670eb50162fd3c8d8ec6d306eb3 Fix Qt6 build + 7b696b6e399cea7cde8bf973370f23c324aff6a8 Fix warning about QString::SkipEmptyParts being deprecated + cd7b64a59450069815ded66dca5f407a20cbb6ed Fix Clang 10 warnings about deprecated copy constructors + e73246b0e575a14bd88a84f67543b7e9b50960d5 Fix incorrect iteration over a C array + 9328401245165dd013af7b56d25f4e53f7c5456a Purge uses of legacy cruft before qtbase removes it + 7b92fd72ab325914427dfadcc5f9c02591bda649 Replace Qt::MidButton with Qt::MiddleButton + 4b48bfe133c5a9b5b257373e58c405f37d4b9d03 Bump version + eed38a67e759f660462e5cd233c73f07e0cfb59f Add binary compatibility file for 5.15 for QtLocation Change-Id: I0db08686e5b18f3825d3fa8c138b832538189664 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit bae290d25a37fddf88f3a6e2e94c3ee68b2cc038) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add binary compatibility file for 5.15 for QtLocationMilla Pohjanheimo2020-08-171-0/+5278
| | | | | | | Binary compatibility file added. Change-Id: I5d0a302f06771a0cfaa23e8a364d7e72ce884458 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Bump versionAlexandru Croitor2020-07-301-1/+1
| | | | Change-Id: Ifef4ebf96bd3d5572feed0b618bdfd1ff1a2948f
* Replace Qt::MidButton with Qt::MiddleButtonEdward Welbourne2020-07-231-1/+1
| | | | | | | | | The latter has been the preferred name since Qt 4.7.0. Change-Id: I2f47bd54b971252d1c3abe601c3709c8da4ab5ad Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit f3a34ce8890c68c04212eafa0ae2c9eeeb60b555) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Purge uses of legacy cruft before qtbase removes itEdward Welbourne2020-07-222-3/+0
| | | | | | | | | | | A use of deprecated qrand() was in a comment, so remove it. A use of QT_BEGIN_HEADER wasn't matched by QT_END_HEADER and it's now a no-op anyway. Change-Id: Ie79c181e5f194c00949bfd7d2372f2d246b53180 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 354d59cd8e7972525e5978d970ef5e64edb14898) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix incorrect iteration over a C arrayThiago Macieira2020-05-201-3/+1
| | | | | | | | | | | | | | | Found by Clang 10: error: expression does not compute the number of elements in this array; element type is 'const MapStyleData', not 'QGeoMapType::MapStyle' [- Werror,-Wsizeof-array-div] Instead, just use range-for. Task-number: QTBUG-83666 Change-Id: I99ab0f318b1c43b89888fffd160b589c5543b9d4 Coverity-Id: 226105 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 275efcc6c493e01fcbb623de4a277cffd584fa58)
* Fix Clang 10 warnings about deprecated copy constructorsThiago Macieira2020-05-201-1/+1
| | | | | | | | | | qgeocodereplyosm.cpp:115:21: error: loop variable 'k' of type 'const QString' creates a copy from type 'const QString' [-Werror,-Wrange-loop- construct] Task-number: QTBUG-83666 Change-Id: I99ab0f318b1c43b89888fffd160b4a12bee11723 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 8b0c9024b1eb9b6a4ad2e440d6e7856ca3a09e80) Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Fix warning about QString::SkipEmptyParts being deprecatedThiago Macieira2020-05-203-3/+3
| | | | | | | | | /home/tjmaciei/src/qt/qt5/qtlocation/src/plugins/geoservices/mapbox/qplacesearchreplymapbox.cpp:107:98: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations] Change-Id: Ib3333a58f37746f3b935fffd1607e152af50f386 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 3ca1149275e1e63e11c8d97f696e05bf73d2e076) Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Merge remote-tracking branch 'origin/5.15.0' into 5.15Tony Sarajärvi2020-05-113-1/+52
|\ | | | | | | Change-Id: Ied8bd656df6a6ad2c3d913905b32f8e08fd9d7e0
| * Update mapbox-gl to the latestv5.15.0-rc2v5.15.05.15.0Thiago Macieira2020-05-061-0/+0
| | | | | | | | | | | | | | Needed to compile with GCC 9 and 10. Change-Id: I99ab0f318b1c43b89888fffd160bf42e51e9a0d1 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * Add changes file for Qt 5.15.0v5.15.0-rc1Alex Blasche2020-04-231-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 2b743cdca353f84959dac47e4ca24615c6f1830a Bump version + efdf3c266dce8791b78d1a851b16d2f4dbe8534e Add optional argument to Map.fitViewportToMapItems + c59ae0c350786ab3d7691503b487a7dda48f4b5c Avoid initializing QFlags with 0 or nullptr + 3aaa71792b6a30e12d1aaff66d7238770576b4cc tests: Fix duplicate .pro entries + b359faca3420916efd649b743501df3fdf5b6f35 Fix MapObjects ::border property not properly initialized + b482674e51c097fccffa1e1cc32b4843ad393894 qtlocation: remove uses of the deprecated member-function + a5e677741a9cbc8b257a58a2ffe3c5f5ee785152 QDeclarativePositionSource::socketError - use deleteLater + 1bba966b8df1cc1d39276833ff4533f967df247e Add to GeoJsonDelegate.qml support for logging clicked country + 8e53b4913946801f5ba51807feda21778f264bf0 Add parent property to QParametrizableObject + f4a98904855b57c6ad42f9ead29737d0201b6733 Fix MapObjectView not setting properties + 6935c61b75ab600950da8ff62b693c426de5b9a5 Update earcut 3rd party library + 4ee08b0770dc018e390051a35092264f0b1a789a Fix QGeoCoordinate::CoordinateFormat missing Q_ENUM + 964a1bb8532249f82d4d647bd496d77ccb5e240f Fix QGeoPolygon translate not updating clipper cache + d055098540df99a5d426360e9322c659e678e5ee Enable mercator-to-screen projection in GLSL + e82c41d35ddd6ef0d14e1d01ea1dfd46742bc0fe Fix Map*ObjectsQSG implementation triggering QSGBatchRenderer crashes + a4469cad4041f21e640efa9ca5d0b192dd702955 Port Map*ObjectPrivateQSG to the shader-based projection geometries + be7cbed7411d024d178377bd327d5916c80e02a0 Add geometry simplification to MapPolyline/MapPolylineObjectQSG + 0ace8d20dcdbcc281c7ebc48b0c153170ebd99b0 Fix crash with empty maps on construction + 0b81e828add7e77fd3aecaf46955f7d1a84321ae Fix segmentation fault due to null pointer usage + a95c1e3a7cf55a43ba1a8b963aa0c0df02655747 Remove use of bearer management from weatherinfo example + d983c7edac94b5e397b781b3f7a9b119d1996318 Examples: request permissions storage permissions on Android + ec3001c3490b14de3b242dce6af97ec519433305 Revert "qtlocation: remove uses of the deprecated member-function" + a0e88ed10cd07d4bdf79d7e7f05f01179f2eb296 Doc: Fix highlighing of import + d97b13fc2ccd38dd6d38190722d2207bb26315b5 serialnmea plugin construction connect() error fix + ae9a8826d73fa689e81c43038bb13226c9cb9ac7 QtLocation: get rid of now unneeded qOverloads + 29816a3aaa3f368422a3b19983add62673bb6960 qtlocation - use errorOccured signal for QTcpSocket + f16f4a231cd10867c10eb42fb456867469c93836 Support custom Mapbox API base URLs + ccfcf832862582cd0e7c6b33547c9bf9d3b47240 winrt: Fix crash on exit + 7711e7bcfae2c09688ecdaf587d580077889cce3 Make use of qRegisterAnonymousType where possible + dd6df42a6ae90cd349b9af2d00d53c5a0d3ed1ed Fix QHash/QMultiHash related deprecations warnings + f64813599bc4d1f57c964727e6b5b4ba3b6cb24a Fix Qt6 build + eda2a7c286058176e1906d0ddc88d4e2cfbec55e Change QQmlListProperty ctor expecting a QList ptr Change-Id: Ib710e60af7111eedf7a7b0dee90228dc3ad74b8f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * Merge remote-tracking branch 'origin/5.15' into 5.15.0Qt Forward Merge Bot2020-04-221-0/+20
| |\ | | | | | | | | | Change-Id: I56ad4358566f1ceb00c7a4584a202739994bfccd
| * | Fix typo in error->errorOccurred deprecation fixMårten Nordheim2020-04-201-1/+1
| | | | | | | | | | | | | | | Change-Id: If9ee065e8d2cbca6ca0ff64415c509caa655a2e6 Reviewed-by: Paolo Angelelli <paolo.angelelli.qt@gmail.com>
* | | Fix Qt6 buildAlexandru Croitor2020-05-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iab6e89c016eb25ea99edcdc88e1191604157b4b9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 22895ccf70a5f0932972f5b363fd9001e19616bd) Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | | Fix developer-build with clang 7Robert Loehning2020-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | comparison of two values with different enumeration types in switch statement ('QVariant::Type' and 'QMetaType::Type') Change-Id: I40bff89a773d4c312825133fd8c00e32e469953a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Remove unused variableRobert Loehning2020-04-281-2/+0
| | | | | | | | | | | | | | | | | | | | | Fixes developer build with clang 7. Change-Id: I45e532541de0f3acc6cdd00231ed7d3aa2264e48 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Add missing "override"Robert Loehning2020-04-281-1/+1
| |/ |/| | | | | | | | | | | | | Fixes developer build with clang 7. Change-Id: I551a5b90d02f5ccb9a7e2e0f9e455d593237a562 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli.qt@gmail.com>
* | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2020-04-211-0/+20
|\ \ | |/ |/| | | Change-Id: I28f3adfb93bf74bd7af04619fbd5d7dc000c395b
| * Merge remote-tracking branch 'origin/5.14.2' into 5.145.14Qt Forward Merge Bot2020-04-211-0/+20
| |\ | | | | | | | | | Change-Id: Iff917e5e9624261107b25eb151625cfc42789ecd
| | * Add changes file for Qt 5.14.2v5.14.25.14.2Antti Kokko2020-03-171-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 5885d03a4616d86056d98762bb445867081f2dce Android: JNI_OnLoad return JNI_VERSION_1_6 instead of JNI_VERSION_1_4 + 594ec018648060340bfbd96477cfd743d7133a56 Android: request permissions before location requests or updates + f813d6af4e41b8b60652265827c0c06deb888f66 Bump version + 1fb878d8de41a2cfd2e0afe4c939679bbb65fdb2 Examples: set minimal_map fullscreen on Android devices + 07de1d0f0f93b742434e2fcfda70bf70cb6373c9 Fix return type of doc for qmlmethod MapPolyline.setPath Change-Id: I0c42f0a64125d4d559402b6808900a0c90adf386 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* | | Change QQmlListProperty ctor expecting a QList ptrv5.15.0-beta4Alex Blasche2020-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | This was introduced by 5a4ffa0de0ecc666a514ef60f0149a76d25b040d Change-Id: Icccf0c8cd3154c102fd93b79e81199e043f7d0bb Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* | | Fix Qt6 buildAlexandru Croitor2020-04-022-4/+4
| | | | | | | | | | | | | | | | | | | | | Change-Id: Ib308cbc590d2a9203ac95a707870f7bd45b9bdea Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit f2fb9058b7053267f3c4b7a2bb5d1fe74fc358f7) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fix QHash/QMultiHash related deprecations warningsAlex Blasche2020-04-024-13/+13
| | | | | | | | | | | | | | | Change-Id: I5ec9c700a0b69a556512efbd0bfd79c4c2119f9a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | Make use of qRegisterAnonymousType where possibleAlex Blasche2020-04-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Conincidentally the patch fixes a few other minor deprecation warnings in the same file too. Change-Id: Iaf6221cd35cca95415b7d5383477b8c2bcfe92b0 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15v5.15.0-beta3Qt Forward Merge Bot2020-03-313-5/+15
|\ \ \ | |/ / | | | | | | Change-Id: I8b84b78bf234556b7162066b8401630da2afb311
| * | winrt: Fix crash on exitOliver Wolff2020-03-271-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a static ComPtr<IGeoLocationStatics> in requestAccess might cause a crash on exit as this pointer might be cleaned up after the application has exited. Make sure, that this pointer is deleted together with the rest by making it part of the d pointer. Fixes: QTBUG-80711 Change-Id: I93c09a4549967195101de07b3cef430f8cd52229 Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * | Support custom Mapbox API base URLsAlex Leung2020-03-242-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Added support for custom Mapbox API base URLs. Fixes: QTBUG-82655 Change-Id: Ieebcc834f8aeaeb223b036100e5edadd55749101 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | qtlocation - use errorOccured signal for QTcpSocketTimur Pocheptsov2020-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | and remove ugly cast Task-number: QTBUG-82605 Change-Id: I8220ead34731b488f8350229447e7f2e723f9c11 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | QtLocation: get rid of now unneeded qOverloadsTimur Pocheptsov2020-03-2325-28/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a preparation for final cleanup in dev/Qt6. This amends the recent change in QtNetwork where we deprecated ambiguous signal overload. Also, fix old SIGNAL to use the proper name. Task-number: QTBUG-82605 Change-Id: Ifc92ce4569ba15ac5429fe379f134a6dbe3a5f73 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* | | serialnmea plugin construction connect() error fixJyrki Yli-Nokari2020-03-232-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | serialnmea QIOPipePrivate initialization accessed QIOPipe via q_ptr before the object was constructed. [ChangeLog][QtPositioning][serialnmea plugin] Fixed serialnmea plugin initialization when used with serial port. Fixes: QTBUG-82819 Change-Id: I3ff2de381a124f6b25f19327a39f1b001ef4899a Reviewed-by: Paolo Angelelli <paolo.angelelli.qt@gmail.com>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2020-03-211-2/+2
|\ \ \ | |/ / | | | | | | Change-Id: I72fa0c1d41db884c752820a8d1fb5a7aa55762bc
| * | Doc: Fix highlighing of importKai Koehne2020-03-131-2/+2
| |/ | | | | | | | | Change-Id: Ifc34a27c89d7d8a63e66e9858f8e6dd3cd9522ab Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15v5.15.0-beta2Qt Forward Merge Bot2020-02-291-1/+1
|\ \ | |/ | | | | Change-Id: I66502770edaa22deb2644ce5071df4894c4d0f97
| * Fix return type of doc for qmlmethod MapPolyline.setPathShawn Rutledge2020-02-251-1/+1
| | | | | | | | | | | | | | Fixes: QTBUG-82417 Change-Id: Id9be6f9e248612bce3a17a65d5f73f7ec4c9f45f Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Revert "qtlocation: remove uses of the deprecated member-function"Timur Pocheptsov2020-02-2525-33/+33
| | | | | | | | | | | | | | | | This reverts commit b482674e51c097fccffa1e1cc32b4843ad393894. Reason for revert: naming in QProcess is considered to be the correct one. Change-Id: I6722adfc06b351c76fb432628a678c4ce887d594 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* | Examples: request permissions storage permissions on AndroidAssam Boudjelthia2020-02-242-0/+25
| | | | | | | | | | | | | | | | | | Since QStandardPaths::writableLocation() is used, it's best to make sure we have to write permissions on Android. Task-number: QTBUG-80717 Change-Id: I992661aed25e7d40254f7c7d6373273cf84aac16 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.14' into 5.15v5.15.0-beta1Qt Forward Merge Bot2020-02-221-3/+3
|\ \ | |/ | | | | Change-Id: Ibfd9321f80367173575afb9393307d8b7ce5f399
| * Examples: set minimal_map fullscreen on Android devicesAssam Boudjelthia2020-02-181-3/+3
| | | | | | | | | | | | | | | | | | If running minimal_map example on Android, the map view is shown on a small view on top of the screen only, with all the remaining view as blank, this is not desirable. Change-Id: I727247428c9a33e0281083abef672379f479c5be Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Remove use of bearer management from weatherinfo exampleMårten Nordheim2020-02-174-42/+14
| | | | | | | | | | | | Change-Id: I8740a008b43b8a5476bdb3506e763acb4bd1b454 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Fix segmentation fault due to null pointer usagePaolo Angelelli2020-02-172-28/+39
| | | | | | | | | | | | Change-Id: I3b030728b32af6e340738583f78b2cfb0d2df11a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Fix crash with empty maps on constructionPaolo Angelelli2020-02-131-0/+2
| | | | | | | | | | Change-Id: I8716c94b2c3f1fb995e933fe5be736e94ff161ce Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Add geometry simplification to MapPolyline/MapPolylineObjectQSGPaolo Angelelli2020-02-1221-44/+1067
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a metric-based implementation of the Ramer-Douglas-Peucker line simplification algorithm to generate a LOD pyramid for the polyline geometries. This comes with a related property (in MapItemBase), lodThreshold, that can be used to change the threshold after which no simplification will be used. By default the value of this property is 0, meaning that the behavior will be unchanged and no LOD will be used. This change also introduces LOD on map polyine objects QSG, for which no property is introduced, and there's a default threshold set to zoom level 12 (which appear to produce acceptable results). Finally, this patch makes use of a threadpool with 1 thread to enqueue geometry simplification tasks, which would otherwise freeze the UI when computing for the first time. Support for geometry simplification is currently added only to polylines. It might be of interest extending it to polygons as well, once a proper strategy for handling the simplification of inner holes has been identified. Finally, extending it to circles could be of interest, while potentially bringing only minor benefits, as circle geometries are currently fixed to 128 vertices. Also adds a MapObject-based delegate to the geojson viewer example. Task-number: QTBUG-46652 Task-number: QTBUG-38459 Task-number: QTBUG-49303 Change-Id: I64b5db4577962db17e5388812909285c9356ef0d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* | Port Map*ObjectPrivateQSG to the shader-based projection geometriesv5.15.0-alpha1Paolo Angelelli2020-02-1115-196/+1018
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the implementation of the scenegraph-based mapobjects (those created by QGeoTiledMap) to be the recently introduced one sporting shader-based map projection. This is much faster than the previous, but may introduce small glitches at this time (mostly on minified polylines). Adding polyline LOD simplification will solve this problem. Compared to equivalent Map Items (that is, Map Items backed by the same underlying implementation), map objects now are approximately 1.5x faster. This measure has been gathered using medium-size polygons (contained in the file 10_countries.json from the geojson_viewer example). The difference is caused by the additional QtQuick geometry related operations (essentially projecting the bounding box for each item) present in MapItems. Smaller polygons may therefore yield larger improvements, larger polygons the opposite. Change-Id: I3fc92b02b74a3a4d001e69755949a98f80d8a3d3 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Fix Map*ObjectsQSG implementation triggering QSGBatchRenderer crashesPaolo Angelelli2020-02-116-24/+35
| | | | | | | | | | | | | | | | The new approach introduces a root node for all objects, that is repopulated at every repaint. Change-Id: I4562e1aaa18999a03e8c38fe3bf59fe41f14dd70 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>