summaryrefslogtreecommitdiff
path: root/examples/positioning/weatherinfo/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove QtPositioning module from qtlocation.git6.2.46.2.36.2.26.2Ivan Solovev2021-11-021-74/+0
| | | | | | | | | | | | | | | Turns out that our CI does not support repos without any tests. This is treated like an error and leads to integration failure. This patch fixes it by disabling tests in coin/module_config.yaml. This config should be fixed when QtLocation tests are enabled Task-number: QTBUG-97084 Change-Id: Ib06e865fe2836806bbbee34345f06b471dd48660 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit 23f32792ad53e23bbafbff6d7667f0bb0f69fc53)
* QtPositioning: update weatherinfo exampleIvan Solovev2021-03-231-9/+1
| | | | | | | | | | | | | | | | Update the logic of the queryCity(): - call it immediately afther GPS state change, if the GPS position is already received (not wait for the next positionUpdate, as it may come only when coordinates actually change, depending on used plugin). - check that we still use GPS, when the reply is received (as we could have already switched to another city). Also update the QML registration to Qt6 way. Task-number: QTBUG-89855 Change-Id: I0bb1aa445763a7c9b125008d71220e1e735c1b6f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix outdated BSD license headerKai Koehne2017-10-171-3/+13
| | | | | | | Use new version with commercial exception. Change-Id: I11058c94138615f7df2f99b6c3245ab075cd8222 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update contact URL in all license headers to qt.ioAlex Blasche2015-02-181-1/+1
| | | | | Change-Id: Ia1e333be7fec8898de609d9b9303b1ad7687632e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update BSD and LGPLv2.1 licensesAlex Blasche2015-02-181-3/+3
| | | | | | | | - Removes subsidiary extension from Qt Company - Replaces remaining occurrences of Digia in BSD and LGPLv2.1 Change-Id: I7467a6744af7d1c3aef3c29118f219399162a18c Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Cleanup qRegisterMetaType<T>() callsAlex Blasche2015-01-151-1/+1
| | | | | | | The non-parameter version is much more secure. Change-Id: I70612c60d780a972bbf9c852f50f7b0c6f2a0402 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Merge remote-tracking branch 'gerrit/5.3' into 5.4Alex Blasche2014-09-081-0/+2
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ib269ecd9a61ebe25da23a0423682b591f7c399c3
| * weatherinfo: improve update behavior of weatherinfo example5.3Fawzi Mohamed2014-09-031-0/+2
| | | | | | | | | | | | | | | | Ensure that new data will get processed, and that error can be recovered, while avoiding an excessive load on the server. Change-Id: I1c3a0b17eb0cc31553013e953d7dcf46060daef1 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Use QStringLiteral whereever possibleAlex Blasche2014-05-151-1/+1
|/ | | | | | | This replaces a lot of old QLatin1String cases Change-Id: I47aec711f5e00de68bde6c2c8ee09506f577cfd4 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Reorder example dir structure according to Qt conventionAlex Blasche2013-11-181-0/+70
Causes undesirable example structure in Qt release package Task-number: QTBUG-34907 Change-Id: I47e2205aa6faef388792146b36cf6ae6cae863da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>