summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add changes file for Qt 5.12.1v5.12.15.12.1Paolo Angelelli2019-01-161-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + d64e59001884e942de087cdcd1bcef8b8e5f99e0 Mapbox GL: Add mapboxgl.china plugin parameter + e11c830eeab55c3085fb8248e9d1190a8259251f Remove dead code + b0295ac4d39db96b9837c44f5b0ffb0d577d418f Improve error reporting in plugin loading + ee700d2eeb4508aa5356ddef11bf11964c5d9283 Mapbox: Only include matching categories in the results + 25c6840ff6585ca9f7ab1c168cdcdd18a68c7885 Bump version + 85df79b094d1097108a28424d6f9b3b76b3aee62 Fix unstable rotation gesture + cf5edf097e39c704d199f1691b27fb4f8bb7f1d9 Doc: Make documented QML imports follow Qt versioning + b172080b7b03c0ffb3115d3d50a7c75765480271 Fix GeoProjectionWebMercator and MapPolyline incorrect projection + d9985cd5a308cece06a88e6203529837f00b33aa Fix missing geometry update when changing border width + 5241d8c727d8e45d0266d486958e6e566563e1c8 Do not build geoclue plugins on platforms != linux + 66ef82484e7e8b1e6b8ebe8f97380b00280e173b winrt: Fix msvc condition in configure tests + d94b6781250ace51e9a857a80ff575be566fcf94 Fix MapItemView removing wrong indices on model changes + ffac0dc5a60c93663f6a4ea5483422c58cdb52b6 Add changes file for Qt 5.11.3 + fb23882d5bc697b2dfdd22c27d34c52d889d1200 Add QAbstractNavigator::setTrackPosition + cb19e1f7e3cc2cfee3b8fcbdfa5cd151826dadac Fix error handling in QGeoServiceProvider + a4cc61fc30cb7dff15bf7ae2ff064530b40d72c5 Improve the initialization behavior of CategoryModel + 27f08fe55608d14368d6cdeb915b7609a1b8b9f2 winrt: Minor code cleanup + 536668aef188df181cc6986355db195579f44206 winrt: Fix setting of verticalAccuracy + c83f4565687e4ab3de87248362305d833ca8eea1 winrt: Replace deprecated functions + 10e200d710254a30dc5e2d4eb2104f3f2b7f7f0c winrt: Make sure that Co(Un)Initialize is called + 98e28cfc3482cb5a8c8e7f6f288b0d29906ada05 winrt: Fix namespaced builds + 3cf061dc8da4d564de06efa6800749f3eacf47eb winrt: Add categorized logging + 3c8b439d84a0ef646d49126f2cfdc59f1eccb883 winrt: Add nativeStatus helper functions + d16a2c0849ad7280893f3fe5259fd6fbd974ce72 winrt: Small code cleanup + 4f6e1d3d5542749e265c0d3ed0953ca66174ce49 winrt: Check availability in requestAccess on desktop builds + 0b242a11b1193b74a2ab979c29e28553e47cc78e winrt: Remove unneeded status change callback + 25493cbb07f8cbc6c6d12cfc575a71875be06692 winrt: Restart location handler on setUpdateInterval if necessary + 9307404d2dcb0b53d0dfcad6c28677cc2aba4a12 winrt: Implement minimumUpdateInterval + be0658bfdb37de213f6b54837706aabc2d088d62 Make tiled renderer and QGeoProjectionWebMercator debuggable + b4beb74d93fee205b624c0f0ae6ea39d88d471ac Fix compilation with GCC < 5.0 + 4e2847bc1a86634d6d583b33a7e246ff4c58e03b Fix regression in error handling in QGeoServiceProvider + 7bafbdc91f83165710ed74639b76b48b4494937a Fix compilation with gcc 4.8 + cfb917948799cb177b3de7eced77f37d13b4e520 Port Nokia geo service plugin to QRegularExpression + 74c390e10f6d2f72fc81eca291b84762ccfb344e Fix warning in Android position plugin + 3d38d96c44d376a10cbe140f7b7c6866bd203471 Fix horizontal accuracy comparison for competing position results + faaa6521dc37fcf4d989f94b6d2a373974357629 Fix warnings in jnipositioning.cpp + fa56cc36c287108a095f006fa2083796610afe27 Ignore Android specific build files + 2bb003b7b158890e87731b1a85f3b71008d6284f Add ability to visually log position updates in test app + a4442abdc034de7984e003c821939ce1b1976593 Collect vertical position accurancy details + 4ab5838d9ba26eef2b2156bbf9cd428547bbebe0 Add binary compatibility file to QtLocation for 5.12 + 550abd7159306e5e68f3b73f70319d9fa19bd186 Enable QVariant::save for QGeoCoordinate + 100e0416e7faff954221df9ef97920ba512712c0 Register QGeoCoordinate debug streaming operator + 1e24cec7e3ebf5f62f5440d848caf6cd9db1e456 Introduce a map plugin parameter to decide U-Turn direction + 04ce8e7f5b7476a08d4f85287e5afb9976ec2d8c Fix QGeoPositionInfoSource::supportedPositioningMethods() on Android + 00db28fe2905c6f9b10da65cc777962c373333a6 Improve QGeoPositionInfoSource::supportedPositioningMethods() docs + 3c3be256cc1658b0d02047b158228fd55d04e2a0 Ensure QGeoPositionInfoSource::supportedPositioningMethodsChanged() on Android + b14145e3fe1bda9af80b043a3b0642510435fc7f Prevent potential blockage of setPreferredPositioningMethods() + 420128331deef9dd963c9455cab6ef47a8f20a5c Enable testing of QGeoPositionSourceInfo::supportedPositioningMethodsChanged() + 81a9c22e75f37c8878d41fa2df249ae20bc44adb winrt: Minor improvements in error handling + b1fe421e9a64d57a6135a95453caf847ab6e6e78 Bump version + 1688c44d223145abfdca19a7b31faecbafb0d315 Fix MapItemView attempting to instantiate items with map not set Change-Id: I4e06bc6aaace81b4409fe71a7e133838f30196f0 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Merge 5.12 into 5.12.1Kari Oikarinen2019-01-0828-81/+381
|\ | | | | | | Change-Id: Ib65445a9e316252e7483d2878b8cdad252242177
| * Fix MapItemView attempting to instantiate items with map not setPaolo Angelelli2019-01-071-0/+3
| | | | | | | | | | | | | | | | | | | | This case was not a problem when the only incubation mode was Asynchronous, because the test for m_map was done in createdItem. Now that Synchronous is supported too, this check has to be done earlier or else instantiated items will never be added to the map. Change-Id: Ifaa033fb0b64cabe74df395fcb387d162cd02b80 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
| * Bump versionKari Oikarinen2019-01-071-1/+1
| | | | | | | | Change-Id: Ifc3f75ab0164e3a973e263b68659a7e7dd40d74e
| * winrt: Minor improvements in error handlingOliver Wolff2019-01-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | - If more than 1 action is done inside runOnXamlThread any error should cause a "top level" error. - If every possible error inside runOnXamlThread gives a proper error message we do not need another error message outside of the block. Change-Id: I910f9e4bc7984e1c7e1f358eee975738ffa3bb2f Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * Enable testing of QGeoPositionSourceInfo::supportedPositioningMethodsChanged()Alex Blasche2019-01-041-0/+9
| | | | | | | | | | | | | | | | This signal is new and is observable as part of the test application now. Task-number: QTBUG-66427 Change-Id: I3859381f4804112cbf44a365d0c9bb357d068119 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
| * Prevent potential blockage of setPreferredPositioningMethods()Alex Blasche2019-01-041-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful because on several platforms supportedPositioningMethods() returns NoPositioningMethods while the user has disabled the Location service. At the same time the platforms can only support dynamic supportedPositioningMethodsChanged() notifications after startUpdates() was called. Blocking changes to this property would have been counterproductive as startUpdates() would always fail and notification would not be possible. This affects at least WinRT and Android and Apple platforms need still further investigation. Task-number: QTBUG-66427 Change-Id: Ie03a3ef9c9476d7be3547661eaa87678fdb7b39c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
| * Ensure QGeoPositionInfoSource::supportedPositioningMethodsChanged() on AndroidAlex Blasche2019-01-044-3/+23
| | | | | | | | | | | | | | | | | | | | | | This signal was added in Qt 5.12 but never emitted on Android. Due to implementation issues this signal is emitted for each provider change (e.g. twice if network and gps provider were disabled when the entire location service is disabled) Task-number: QTBUG-66427 Change-Id: I820b3187bfd8b8ab4facb053e2019e4f5c9736d0 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
| * Improve QGeoPositionInfoSource::supportedPositioningMethods() docsAlex Blasche2019-01-041-4/+38
| | | | | | | | | | | | | | | | | | | | In particular the differing levels of support on various platforms needed documentation. Task-number: QTBUG-66427 Change-Id: I4c390d14ad69e2f1630e883c8f0a34cbca028a03 Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
| * Fix QGeoPositionInfoSource::supportedPositioningMethods() on AndroidAlex Blasche2019-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | So far this method returned all existing positioning methods and not the available methods. Availability is defined by customer settings like turning location off or only enabling GPS based positioning. Task-number: QTBUG-66427 Change-Id: Id5b58ee4cc0274bae90ed2e363cb5cf2a287dc05 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
| * Introduce a map plugin parameter to decide U-Turn directionTasuku Suzuki2018-12-267-15/+70
| | | | | | | | | | | | | | | | | | | | | | When "uturn" comes from OSRM, Qt returns UTurnLeft since Right Hand Traffic is in use in most countries. This commit allows qml to set traffic side to return correct u-turn direction. Task-number: QTBUG-72462 Change-Id: Ifaa002b063159b4e4ee563d007721ba7a4a587a4 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
| * Register QGeoCoordinate debug streaming operatorAlex Blasche2018-12-211-2/+7
| | | | | | | | | | | | | | | | | | | | | | This enables the following code: QGeoCoordinate coord(foo, bar); QVariant v; v.setValue(coord) qDebug() << v; Change-Id: I3cc66c359d6be8b8ab9471170ae8763e08c3b3e9 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
| * Enable QVariant::save for QGeoCoordinateAlex Blasche2018-12-211-0/+23
| | | | | | | | | | | | | | | | Fixes: QTBUG-62682 Fixes: QTBUG-68331 Change-Id: Ibd08934e2b6da06a6b6ff24419e53b87fb2eaa20 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Collect vertical position accurancy detailsAlex Blasche2018-12-141-1/+15
| | | | | | | | | | | | | | | | | | Android's platform API supports this piece of information since API version 26. Fixes: QTBUG-64689 Change-Id: I09cce4979f3f754cb9af11281de2fe0050b74da1 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| * Add ability to visually log position updates in test appAlex Blasche2018-12-126-6/+110
| | | | | | | | | | | | | | | | | | | | This makes it much easier to check received positions outside of debug/console output. Regular updates cannot be received inside a building which means a device can be taken out of the office for further testing without the need to have a developer machine attached. Change-Id: I1a54a1b2fa269ec4ab75aacc4531158a02345382 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
| * Ignore Android specific build filesAlex Blasche2018-12-101-0/+3
| | | | | | | | | | | | | | They make it impossible to find any other file. Change-Id: I9abe8ea08befab52c00e1d1e60262c637905fbbc Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
| * Fix warnings in jnipositioning.cppAlex Blasche2018-12-101-27/+28
| | | | | | | | | | | | | | | | | | Since Android uses a new NDK/compiler since 5.12 there were many more warnings which had serious implications. Examples are potentially flawed downcasts, nullptr warnings and old style casting operators. Change-Id: I53989fa9120c8b7e865d23255d1fcdf229e7f2f3 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
| * Merge remote-tracking branch 'origin/5.11' into 5.12Qt Forward Merge Bot2018-12-105-16/+38
| |\ | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ifd3514a958d0df4320b253c26e3da3a632088be8
| | * Merge remote-tracking branch 'origin/5.11.3' into 5.11Qt Forward Merge Bot2018-12-041-0/+32
| | |\ | | | | | | | | | | | | Change-Id: I0aed0065d1a7a17821be82594ae4f14dba2b5665
| | | * Add changes file for Qt 5.11.3v5.11.35.11.3Alex Blasche2018-11-231-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + ce1767d724e26012cfcd2eae0143ec9a87984046 Use the correct name for the resource when building statically + 8a7bde9b93208259de65d6b1aef21d21b495b6d7 If a category has UnspecifiedVisibility then we should still match + f9a1c4a18a3421617e28d2c26d30b011d22a0229 Amend 8a7bde9b93 to correctly account for the UnspecifiedVisibility case + 6b109d09982e09940dc8e777430a04410d7b6550 Fix crash when calling QGeoPath::length on empty QGeoPath instance + ee700d2eeb4508aa5356ddef11bf11964c5d9283 Mapbox: Only include matching categories in the results + 25c6840ff6585ca9f7ab1c168cdcdd18a68c7885 Bump version Change-Id: Ie25e5020441b8e0b2b2dcb8f2fc56d68681c69a0 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| | * | Fix compilation with GCC < 5.0Paolo Angelelli2018-11-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently unable to resolve QPointers to pointers Change-Id: I04b3b7698ea083f83bc2713530656ca8b3f3ac28 Fixes: QTBUG-69512 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| | * | Fix missing geometry update when changing border widthPaolo Angelelli2018-11-192-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this case, only border geometry was marked dirty, producing a misplaced polygon. Fixes: QTBUG-70886 Change-Id: Ied39e523a584976871a655e436daf8c2700458b6 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| | * | Fix unstable rotation gestureTasuku Suzuki2018-11-141-0/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Order of touch events are not sorted on some platform. When touch point 1 and 2 are swapped, map is rotated 180 degrees in a moment Change-Id: I9c308b805a6ca54519f26a9ff19217de7f947c17 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
| | * Bump versionOswald Buddenhagen2018-11-081-1/+1
| | | | | | | | | | | | Change-Id: I9eb138dde3677e25a6c40681bd2e1f7fa4765d10
| | * Mapbox: Only include matching categories in the resultsAndy Shaw2018-11-061-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | If an entry in the results had no categories specified at all then it would end up including this in the results even if a specific category was requested to match against. Change-Id: I506b40b73ec07608bd2b2562d92065376fbb67c9 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | | Add binary compatibility file to QtLocation for 5.12Milla Pohjanheimo2018-12-191-0/+4838
|/ / | | | | | | | | | | | | Binary compatibility file added. Change-Id: I46e179f29957a281f0b04424a6d44fb63556b208 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | Fix horizontal accuracy comparison for competing position resultsAlex Blasche2018-12-051-1/+1
| | | | | | | | | | | | Fixes: QTBUG-72291 Change-Id: Id2c2ce04e12f1470b08e93ec3512ab39b4054f7d Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Fix warning in Android position pluginAlex Blasche2018-12-051-1/+1
| | | | | | | | | | | | | | | | qtlocation/src/plugins/position/android/src/qgeopositioninfosource_android.cpp:226: warning: implicit conversion loses integer precision: 'qint64' (aka 'long long') to 'const int' Change-Id: I64df529028aac88f1b6e05c72cfba0a9ed6c9a7f Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Merge remote-tracking branch 'origin/5.12.0' into 5.12Qt Forward Merge Bot2018-12-054-3/+55
|\ \ | | | | | | | | | Change-Id: I53b052e12532392192d73da7006b204539cad57c
| * | QGeoPath: revert clear API to clearPathv5.12.0-rc2v5.12.0-rc1v5.12.05.12.0Samuel Gaist2018-11-103-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The original name was correct as clear would need to reset more properties which is was not the goal of this method. Change-Id: Iac43a61e4b8bf57220c88d627b33578612c4ddad Reviewed-by: Lars Knoll <lars.knoll@qt.io>
| * | Add changes file for Qt 5.12.0Paolo Angelelli2018-11-071-0/+52
| | | | | | | | | | | | | | | Change-Id: Ib5609e2fa3d76c7372a0362502288eac6eee282a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Port Nokia geo service plugin to QRegularExpressionSamuel Gaist2018-12-041-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates the Nokia geo service plugin code to use QRegularExpression in place of QRegExp which is to be considered deprecated. Change-Id: Idc7459351c6f1a1b12ba1528c426fced324039a1 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Fix compilation with gcc 4.8Ville Voutilainen2018-12-033-10/+9
| | | | | | | | | | | | | | | | | | | | | GCC 4.8 doesn't like using QPointer in signal connections. Change-Id: I9504efb259712a65427ef1366ca562882085404e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Fix regression in error handling in QGeoServiceProviderPaolo Angelelli2018-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb19e1f7e3cc2cfee3b8fcbdfa5cd151826dadac fixed a bogus comparison in an if statement. However, the correct condition is actually a bug, and should be removed altogether. The previously incorrect condition was always testing to false so the problem wasn't triggered. Task-number: QTBUG-72180 Change-Id: Ia00b55596173474e8c0fe3b0c374490620c6917f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Make tiled renderer and QGeoProjectionWebMercator debuggablePaolo Angelelli2018-11-2813-206/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces a new macro, QT_LOCATION_DEBUG, that, when fed via qmake command line, changes the scope of some members, adds some extra members and some extra data dumping into these members. In this way external code can inspect the state of the renderer in order to debug it. The patch also moves a few classes into separate files, as well as privately exporting them. Change-Id: I32a042863f78dcd10f94b0b7fe8b90f3fc486891 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | | winrt: Implement minimumUpdateIntervalOliver Wolff2018-11-281-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | According to MSDN GeoLocator's default ReportInterval is 1 second or as frequent as the hardware can support – whichever is shorter. By using that functionality we can support minimumUpdateInterval "properly". Change-Id: Id54197babeec04c8fc0a309930b192e36d9138f8 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* | | winrt: Restart location handler on setUpdateInterval if necessaryOliver Wolff2018-11-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows' backend will complain if we try to set the report interval while being subscribed to position changes so we have to remove this registration and redo it when the new interval is in effect. Change-Id: I5b3f23a7b6e530dd0a3f673e2b8ce6f5102b7eb1 Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Miguel Costa <miguel.costa@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | winrt: Remove unneeded status change callbackOliver Wolff2018-11-282-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not use the native callback's result but Windows' backend will complain if we try to set some of GeoLocator's properties while we are registered for status changes. By removing the callback registration we get rid of these warnings. Change-Id: Ic3829ee438c708fb4411ba94ba1202bb427e8815 Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* | | winrt: Check availability in requestAccess on desktop buildsOliver Wolff2018-11-281-5/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason the native status is always Disabled for desktop builds (even though the location service is running). So with desktop builds we have to use requestAccess to gain information about the state of the location service. As the functionality is async the important parts of QWinRTFunctions are shadowed locally. Change-Id: I575ee0b161de734c29453a7a07350bc8d09720e8 Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Miguel Costa <miguel.costa@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | winrt: Small code cleanupOliver Wolff2018-11-281-4/+1
| | | | | | | | | | | | | | | | | | | | | Windows 8.1 is no longer supported Change-Id: I00d103057a63abbcbc3ad3baa8ef93b35e07e819 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | winrt: Add nativeStatus helper functionsOliver Wolff2018-11-281-14/+18
| | | | | | | | | | | | | | | | | | | | | Gets rid of duplicated code. Change-Id: I4635b23c5ae431867299eeeafd4bd260f8ba156f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | winrt: Add categorized loggingOliver Wolff2018-11-282-1/+32
| | | | | | | | | | | | | | | Change-Id: I641690a87dab2527493c3c16ffb476e4121d9ecb Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | winrt: Fix namespaced buildsOliver Wolff2018-11-281-0/+4
| | | | | | | | | | | | | | | Change-Id: Ic9df2c2870184eacc2d1400fc51354ee1da0c288 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | winrt: Make sure that Co(Un)Initialize is calledOliver Wolff2018-11-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the QGeoPositionInfoSource is created in a command line app we cannot rely on CoInitialize having been called by the event dispatcher before. Fixes: QTBUG-71194 Change-Id: Id2a8fd22f7b4cf6e5c2629bf7dcd8319b585666e Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | | winrt: Replace deprecated functionsOliver Wolff2018-11-281-20/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | get_Altitude and the like are marked deprecated and thus should not be used. Use proper replacement functions as advised in Microsoft's documentation. Change-Id: I2166611a3133cadf9fb110242f231d76ca517932 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | | winrt: Fix setting of verticalAccuracyOliver Wolff2018-11-281-1/+1
| | | | | | | | | | | | | | | Change-Id: I74ce6e9433eb7ad0f065ea5c554a8c11dd690604 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | winrt: Minor code cleanupOliver Wolff2018-11-284-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | - Use nullptr instead of 0 - Use recommended way of including Qt headers Change-Id: I170dbb5aa41a2dd4d10ff99c421da8a037cbe153 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Improve the initialization behavior of CategoryModelPaolo Angelelli2018-11-272-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CategoryModel was missing an update call in the ::componentComplete callback, as well as reacting on the name changed signal of the plugin. An update call was also missing in the setPlugin method. This patch makes it react on the attached signal instead, and adds missing update calls. Fixes: QTBUG-70254 Change-Id: I1a8de0137b4fe4af7c5ffc848799061147febba2 Reviewed-by: Michael Brasser <michael.brasser@live.com>
* | | Fix error handling in QGeoServiceProviderPaolo Angelelli2018-11-271-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | A dangerous local reference with the same name of a member variable caused the latter not to be evaluated and the former not to be set. Change-Id: Iaadcc3bce36f56ed8eeb77374687cf33632abd2f Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Add QAbstractNavigator::setTrackPositionPaolo Angelelli2018-11-263-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Or else there's no reactive way to tell navigator objects when the user changes this property. Change-Id: Ief78facf537a50c15611127c5282c2bcfd59f8fd Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>