Hi,
I'm using a Nokia Developer Certificate and working in Carbide 2.3 with Qt 4.7
and Qt-Mobility 1.0.2. A simple demonstration program using
QGeoPositionInfoSource isn't turning on the GPS device. I'm running the
program
on the N97.
Is something missing here?
These are the capabilities I'm using:
symbian: {
TARGET.UID3 = 0xE36520C6
TARGET.CAPABILITY = NetworkControl MultimediaDD NetworkServices ReadUserData
WriteUserData LocalServices UserEnvironment Location ReadDeviceData
WriteDeviceData
}
This is part of the code:
ContactsTest::ContactsTest(QWidget *parent)
: QMainWindow(parent),
contactManager(new QtMobility::QContactManager("symbian")),
source(QGeoPositionInfoSource::createDefaultSource(parent))
{
ui.setupUi(this);
connect(source,SIGNAL(positionUpdated(QGeoPositionInfo&)),this,SLOT(OnPositionUpdated(QGeoPositionInfo&)));
source->setPreferredPositioningMethods(QGeoPositionInfoSource::AllPositioningMethods);
source->setUpdateInterval(1000);
source->startUpdates();
QList<QtMobility::QContact> privateContactList=contactManager->contacts();
}
I'm using S60 5th Edition. I have apps using the gps device with the previous
Qt versions but there's no gps activation when I run this program. Is there
anything missing here?
Thanks
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback