1Qt 5.11 introduces many new features and improvements as well as bugfixes 2over the 5.10.x series. For more details, refer to the online documentation 3included in this distribution. The documentation is also available online: 4 5http://doc.qt.io/qt-5/index.html 6 7The Qt version 5.11 series is binary compatible with the 5.10.x series. 8Applications compiled for 5.10 will continue to run with 5.11. 9 10Some of the changes listed in this file include issue tracking numbers 11corresponding to tasks in the Qt Bug Tracker: 12 13https://bugreports.qt.io/ 14 15Each of these identifiers can be entered in the bug tracker to obtain more 16information about a particular change. 17 18**************************************************************************** 19* Qt 5.11.0 Changes * 20**************************************************************************** 21 22QtLocation 23---------- 24 25 - Qt.labs.location 26 * A new experimental QML plugin introduced, Qt.labs.location, which 27 offers two new categories of QML elements: Map Objects and the 28 Navigator type. Both are experimental, not supposed to work in every 29 setup (check documentation). This plugin can be disabled at configure 30 time, through the location-labs-plugin feature. 31 * Map objects are supposed to be QQuickItem-less equivalents of 32 Map Items. They are supposed to be easy to implement in plugins, and 33 to introduce minimal overhead. They come with a reference 34 implementation based on QSGNodes, that is supposed to work in all of the 35 currently offered raster based plugins. 36 At the present, the MapboxGL plugin does not offer map objects support. 37 * The Navigator type is a new QML api to expose turn-by-turn navigation 38 functions present in plugins. It requires a plugin supporting 39 one of the Navigation capabilities to actually work. 40 At the present, none of the open source plugins have these capabilities. 41 42 - MapParameter 43 * MapParameter type now deprecated and re-registered under the DynamicParameter 44 name. 45 46 - QGeoServiceProvider/QGeoServiceProviderFactory 47 * Added QGeoServiceProviderFactoryV2, capable of producing 48 QNavigationManagerEngine objects. 49 Note: QNavigationManagerEngine is private API. 50 51 - QGeoPath 52 * The path property changed type, from QList<QGeoCoordinate> to 53 QVariantList. This is binary-compatible with the previous release, 54 and source-compatible in QML. 55 It may, however, introduce source incompatibilities when using 56 the QObject property API in C++ (::property and ::setProperty), for 57 example in the generation of language bindings. 58 For the regular user-code, the use case was deemed as rare enough 59 (since QGeoShape has a public setter/getter for the path) to not cause 60 any problem. 61 As the beta phase passed without issues, this change was therefore left in place. 62 63 - QGeoRoute 64 * QGeoRoute, QGeoRouteSegment and QGeoManeuver private implementation are 65 now (privately) exported and can be subclassed in plugins to provide 66 custom private implementations. 67 * QGeoRouteRequest now allows to specify extra parameters in QVariantMap form. 68 * RouteQuery (QDeclarativeGeoRouteQuery) now allows to specify extra parameters 69 through Map/DynamicParameters. 70 * Added extended attributes to QGeoManeuver/QDeclarativeGeoManeuver. 71 * [QTBUG-64066] Introduced new Waypoint QML type, intended to replace 72 QGeoCoordinate as mean to specify waypoints in a RouteQuery. 73 74 - QPlace 75 * QPlace private implementation is now (privately) exported and can be 76 subclassed in plugins to provide custom private implementations. 77 * QPlaceContent::Type has a new value, CustomType. 78 79 - QDeclarativeGeoMap 80 * [QTBUG-66315] Fixed a crash calling Map.clearMapItems before Map is 81 initialized. 82 * Fixed MapGestureArea not emitting when controlled with scroll wheel. 83 * [QTBUG-66880] Fixed clearData not triggering scene update. 84 * [QTBUG-67580] Fixed crash in QQuickGeoMapGestureArea. 85 * [QTBUG-67759] Fixed crash when calling clearData at startup. 86 87 - Map Items 88 * [QTBUG-66758] Fixed re-set map items rendering stale geometry. 89 * [QTBUG-38459] Fixed the geometry of map items so that, if layers.enabled 90 is set to true, the scene graph renderer will not cut the items borders 91 anymore. 92 * [QTBUG-66692, QTBUG-66830] Fixed polyline geometry generation. 93 * [QTBUG-62086, QTBUG-65833] Fixed MapItemView not setting context data 94 upon item deletion. 95 * [QTBUG-67765] Fixed interaction with Map Items borders. 96 97 - Plugins 98 * Mapbox: Added OnlinePlacesFeature, PlaceRecommendationsFeature, SearchSuggestionsFeature 99 and LocalizedPlacesFeature. 100 * Mapbox: Added OnlineGeocodingFeature, ReverseGeocodingFeature and LocalizedGeocodingFeature. 101 * Mapbox/OSM: OSRM backend now returns extended attributes for the maneuvers, such as 102 bearing_before, bearing_after, instruction, type and modifier. 103 * Mapbox/OSM: OSRM backend now uses Waypoint's bearing when sending a route request. 104 * Mapbox/OSM: Added OSRM's {leg,step}_index extra attribute to QGeoManeuver. 105 * Mapbox: Supported Mapbox Directions API voice & banner instructions. 106 * MapboxGL: Added map margins support via 'margins' map parameter. 107 * HERE: the plugin now uses Waypoint's bearing when sending a route request. 108 * OSM: supported the query limit parameter in the nominatim backend. 109 110 111QtPositioning 112---------- 113 114 * [QTBUG-65937] Metatype for QGeoPositionInfo is now declared and registered. 115 This change introduces a potential source incompatibility, as existing user code may 116 contain the type registration already. 117