summaryrefslogtreecommitdiff
path: root/examples/positioning/logfilepositionsource
Commit message (Collapse)AuthorAgeFilesLines
* Remove QtPositioning module from qtlocation.gitIvan Solovev2021-10-2710-757/+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 Pick-to: 6.2 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>
* Raise cmake_minimum_required to VERSION 3.16 in examplesJoerg Bornemann2021-08-171-1/+1
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-95636 Change-Id: I821f412f9dbe11ae99ffd888a7ab2ba415ed9379 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* QtPositioning: improve logfilepositionsource example documentationIvan Solovev2021-03-231-11/+18
| | | | | | | | | | | Removed the mentioning of NMEA format, because the file format has nothing to do with it. Reworded some other pieces of the description in a bit nicer way. Task-number: QTBUG-89855 Change-Id: I66450b201042786a3fe8aec4ef56f0dafca2a9c2 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* QtPositioning: reset errors properlyIvan Solovev2021-01-291-0/+2
| | | | | | | | | | | | | Calling startUpdates(), startMonitoring() or requestUpdate() on QGeoPositionInfoSource/QGeoSatelliteInfoSource/QGeoAreaMonitorSource subclasses effectively means starting a new work session, which means that we should not care about the previous errors. This patch resets the errors to Error::NoError in all subclasses when calling these methods. Task-number: QTBUG-90491 Change-Id: Ia9cf0345e8c672d47814d8d0a865cd23541af61a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* QtPositioning: remove QGeoPositionInfoSource::updateTimeout signalIvan Solovev2021-01-262-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | A new Error::UpdateTimeoutError enum value is introduced instead. An errorOccurred() signal with this value is used to notify about update timeouts. As a result, an updateTimeout() signal is also removed from QML PositionSource object (QDeclarativePositionSource C++ class). It's also replaced by the sourceErrorChanged() signal with PositionSource.UpdateTimeoutError error value. Apart from that - several more warnings in the unit tests are fixed. [ChangeLog][QtPositioning][Important Behavior Changes] Removed QGeoPositionInfoSource::updateTimeout() signal. Use QGeoPositionInfoSource::errorOccurred() with a new Error::UpdateTimeoutError value instead. Removed PositionSource::updateTimeout() signal from QML. Use PositionSource::sourceErrorChanged() with a new PositionSource.UpdateTimeoutError value instead. Task-number: QTBUG-90491 Change-Id: I7458382a5cb7fdea192b3924baf9e86ee28d1028 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* QtPositioning: get rid of warningsIvan Solovev2021-01-221-7/+7
| | | | | | | | | | Fix warnings in QtPositioning sources. These are mostly the warnings regarding a missing "override" keyword in unit tests. Task-number: QTBUG-90491 Change-Id: I6ca676de0733767d4b85353670103ad5a8d60688 Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* QtPositioning: port to cmakeIvan Solovev2021-01-201-0/+54
| | | | | | | | | | 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>
* Fix outdated BSD license headerKai Koehne2017-10-175-15/+65
| | | | | | | Use new version with commercial exception. Change-Id: I11058c94138615f7df2f99b6c3245ab075cd8222 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix outdated FDL headerKai Koehne2017-10-171-5/+5
| | | | | Change-Id: Ie9771204ea1aa46e333d96ab0f392c795c512946 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update examples documentation locationMichal Klocek2016-02-261-0/+87
| | | | | | | | | | The current way of documenting examples is to include qdoc and images source into example directory. Fix examples in location and positioning. Replace planespotter.jpg with png. Change-Id: I4eeacbfa575e7ae3ef747703348f2f201899e548 Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
* Qualify positioning headers when including them from elsewhereUlf Hermann2015-03-171-1/+1
| | | | | | | | | | | | | | | There are some corner cases in which you cannot rely on qmake to generate module-specific include directives for the compiler when building different parts of the same module. The rules on this are complicated and it's easy to make mistakes. Qualified includes are also locatable without module-specific include directives. It's generally a good idea to qualify includes from the same module but a different library in order not to rely on qmake's magic too much. Change-Id: I8703116c7c5c898394d7f393630cbfa655174605 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update contact URL in all license headers to qt.ioAlex Blasche2015-02-185-5/+5
| | | | | Change-Id: Ia1e333be7fec8898de609d9b9303b1ad7687632e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update BSD and LGPLv2.1 licensesAlex Blasche2015-02-185-15/+15
| | | | | | | | - 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>
* Put pre-defined GPS log file into qrc fileAlex Blasche2014-09-173-5/+9
| | | | | | | | This fixes shadow build breaks and not found log file on OSX when using app bundles. Change-Id: Ib92cb2973c4687b356f8f35d4dbce2c39ef70b17 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Don't rely on qt_example_installs for complete make install rulesAlex Blasche2013-11-291-2/+3
| | | | | | | | | simplelog.txt was not deployed when running make install from outside Qt source tree. Change-Id: I420a85fc5f74fb1bfc1b3f63e1f88cf0b0e2a0f9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix make install rules for all examples in QtPositioningAlex Blasche2013-11-291-4/+3
| | | | | | | | This was highlighted during the testing of the Qt 5.2.0 package. Change-Id: Iab1e6f5f1e1a8ceb62fc44658ec12fb131ccad65 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Reorder example dir structure according to Qt conventionAlex Blasche2013-11-187-0/+550
Causes undesirable example structure in Qt release package Task-number: QTBUG-34907 Change-Id: I47e2205aa6faef388792146b36cf6ae6cae863da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>