![]() |
2010-06-30
, 19:23
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#2
|
![]() |
2010-06-30
, 20:27
|
Posts: 60 |
Thanked: 23 times |
Joined on Jan 2010
|
#3
|
#include "gps.h" #include <qgeopositioninfosource.h> #include <qnmeapositioninfosource.h> #include <qgeosatelliteinfosource.h> #include <QTimer> #include <QDebug> GPS::GPS(QObject *parent) : QObject(parent), location(0), { } void GPS::start() { location = QGeoPositionInfoSource::createDefaultSource(this); location->setUpdateInterval(5000); connect(location, SIGNAL(positionUpdated(QGeoPositionInfo)), this, SLOT(positionUpdated(QGeoPositionInfo))); location->startUpdates(); } void GPS::positionUpdated(const QGeoPositionInfo &info) { latitude = info.coordinate().latitude(); longitude = info.coordinate().longitude(); emit getOK_GPS(); }
![]() |
2010-06-30
, 21:18
|
Posts: 60 |
Thanked: 23 times |
Joined on Jan 2010
|
#4
|
![]() |
2010-06-30
, 21:52
|
Posts: 60 |
Thanked: 23 times |
Joined on Jan 2010
|
#5
|
When I turn off fullscreen it works flawlessly.
Anyone else encountered this?
If an applications starts up without fullscreen mode, locationing works.
If an application enters full screen mode from normal mode ,locationing does not work.
If an application enters full screen mode and then goes to normal mode, locationing does not work.
If an application starts up with fullscreen mode, location does not work.
Fullscreen mode kills it in some way?
Last edited by tmsha; 2010-06-30 at 19:08.