summaryrefslogtreecommitdiff
path: root/src/positioningquick
Commit message (Collapse)AuthorAgeFilesLines
* QtPositioning: port to cmakeIvan Solovev2021-01-201-0/+31
| | | | | | | | | | Switching QtPositioning, its tests and examples to cmake. QtLocation is not covered by this patch. Task-number: QTBUG-89854 Change-Id: Ic971f7fd4c576eac9b662641aae77d68c062712d Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* QtPositioning: adapt to Qt6Ivan Solovev2021-01-202-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Make QtPositioning module buildable under Qt6: - remove calls to deleted QMetaType-registration methods - replace int -> qsizetype where it prevents the code from being compiled - fix some deprecation warnings - fix library dependencies in .pro file for building tests - fix weatherinfo example For now only qmake is supported. CMake support will be done in scope of a separate patch. Geoflickr example is yet to be ported, as it requires extracting XmlListModel from xmlpatterns. QtLocation is also skipped for now, as it seems to require heavy refactoring due to changes in QSGMaterialShader interface. QtLocation build is disabled in qmake for now. Task-number: QTBUG-89853 Change-Id: I8cc4da6efabe32ce114701219d5431f8480bee3b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add missing overrideAlexander Volkov2020-06-291-2/+2
| | | | | Change-Id: Ieae01bc4669cdd503f97399c622989795a0ad734 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>
* QDeclarativePositionSource::socketError - use deleteLaterTimur Pocheptsov2020-01-181-2/+2
| | | | | | | | | | | This is a slot directly connected to the socket's signal. This means, deleting the socket from the slot leaves the socket's code that was emitting with an invalid 'this' pointer. Fixes: QTBUG-81069 Change-Id: I5b915f8d103809b80d1af34655eaa5231bddc7a6 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Fix documentation warningsTopi Reinio2019-11-141-1/+1
| | | | | | | | | | | | | Fix missing/incorrect parameter documentation, linking warnings, and \instantiates references to undocumented/internal classes. Remove mention of Navigator::currentRoute, as such a property no longer exists. Fixes: QTBUG-79811 Change-Id: I048a13109aa19f3db75e76611473d60a2396f028 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Fix 5.14 QML API inconsistenciesv5.14.0-beta2Paolo Angelelli2019-10-041-2/+2
| | | | | | Change-Id: I54bf3791d3d5e40fb9405c2f1527758fcfba8120 Fixes: QTBUG-78690 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-10-013-3/+0
|\ | | | | | | Change-Id: Id543d32c49c8efd1d7798d41bbee0e28c1742e12
| * Doc: Fix link errors and complete parameter specsNico Vertriest2019-09-303-3/+0
| | | | | | | | | | Change-Id: I786ab35a0e9c8dfa2c8124692289d98e8eee4a8d Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | Fix 5.14 positioning APIsPaolo Angelelli2019-09-192-2/+2
| | | | | | | | | | | | | | | | This patch fixes a few inconsistencies in the newely added features. Change-Id: Icdf1c9208fd0d5ab1d6ec6d87fcc5be5072c3f58 Fixes: QTBUG-77865 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Allow setting backend properties of positioning pluginsPaolo Angelelli2019-07-242-0/+41
| | | | | | | | | | | | | | | | | | | | This change adds a pair of setter/getter to specify positioning backend properties at runtime, both in QGeoPositionInfoSource and QDeclarativePositionSource. Task-number: QTBUG-66304 Change-Id: Iea9421fb708879bee5c62c4afaf45cbda57f50bb Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Accept and honor PluginParameters in PositionSource elementsPaolo Angelelli2019-07-182-47/+165
| | | | | | | | | | | | | | | | | | This patch implements the support for PluginParameters inside PositionSources. Task-number: QTBUG-66304 Change-Id: Ia28e1c620b6f6abc462a0e4c68a0ff517a40cfa9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Move PluginParameter into PositioningQuick, expose also in QtPositioningPaolo Angelelli2019-06-214-5/+233
|/ | | | | | | | | | | | | | | | | | | | | | With this patch the QDeclarativeGeoServiceProviderParameter in the location-private module becomes QDeclarativePluginParameter in the positioningquick-private module. This renamed class is then registered, under the same QML typename "PluginParameter" both in QtPositioning and QtLocation qml plugins. In this way it will become possible to use the same type both inside QtLocation "Plugin" and inside QtPositioning "PositionSource", and regardless of which is the QML plugin that provides "PluginParameter", this will translate into the same cpp type. [ChangeLog][QtPositioning] Exposed PluginParameter also from QtPositioning qml plugin, to be used in PositionSource as replacement of environment variables. Task-number: QTBUG-66304 Change-Id: I1d982ff689130ae896c616480567aa12d9b49c3a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Move declarative positioning classes to positioningquick, fix exportsPaolo Angelelli2018-12-044-0/+779
| | | | | | | | | | | | | | QDeclarativeGeoLocation and QDeclarativeGeoAddress were incorrectly publicly exported (Q_POSITIONING_EXPORT) in QtPositioning, for using them in QtLocation (geocodemodel, declarativeplace), although they are private classes. This patch moves them into positioningquick, that, now that is available, is supposed to contain all the declarative positioning types. The patch also correctly privately export these types. Change-Id: I1bde17026fe122860e8977a98262c0707939c227 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Move qquickcoordinateanimation to positioningquickPaolo Angelelli2018-10-293-0/+466
| | | | | | | | | So plugins can use it, also stand alone ones, and no ugly "import ../" anymore. Change-Id: I4e53815e041e13d495026d60a826a31bccaef2b4 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* Add QGeoPositionInfoSource::supportedPositioningMethodsChangedPaolo Angelelli2018-04-092-9/+22
| | | | | | | | The signal is meant to be emitted by backends Task-number: QTBUG-66427 Change-Id: I8bc123e358dc76489b5eac85f397cd7f40072335 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: Fix all documentation warningsTopi Reinio2018-03-272-2/+2
| | | | | | | | | | | | | | | | | | | | Fix multiple warnings caused by invalid documentation configuration, missing QML module specifiers, wrong QML type names, incorrect arguments for the \fn command, and missing documentation. Remove incorrect statement from the example usage of the Waypoint QML type. Use 'QtLocation' as the name for the module throughout the docs. Clang (used as the parser for QDoc in Qt 5.11) was unable to resolve the path for qlocation.h, causing QDoc to omit the QLocation namespace documentation. Fix this by including the file explicitly from qlocationglobal.h for documentation builds. Change-Id: I2bd790db1ff5ad96f0cdb415a682b97593b3a6dc Reviewed-by: Martin Smith <martin.smith@qt.io>
* Merge remote-tracking branch 'origin/5.10' into 5.11Liang Qi2018-02-191-0/+1
| | | | | | | | | | | | Conflicts: src/location/declarativemaps/qdeclarativegeomap.cpp src/location/maps/qgeomap.cpp src/location/maps/qgeomap_p_p.h src/location/maps/qgeorouteparserosrmv5.cpp src/location/maps/qgeotiledmap.cpp src/positioning/positioning.pro Change-Id: I42f8b176a8f3e824c7fe5b067a958735173f0dbb
* Move QtPositioning QML wrappers into declarativepositioning modulePaolo Angelelli2017-12-157-0/+1704
In this way it will be possible to use these types in additional QML plugins/components Change-Id: Ie82e37877198b99a98ff4a2b076f39f6a9e4fe32 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>