Hi everyone,
I am trying to develop an application which would get the geolocation of user, so import mobility and geolocation into the project, it complies successfully, but when it deploy to devices it shows:
Deploying application to 'Nokia 5800 XpressMusic USB (COM3)'...
Copying install file...
Installing application...
Starting application...
Application running with pid 458.
Process 458, thread 459 stopped at 0x802a12f1: Thread 0x1cb has panicked. Category: Lbs Client Fault; Reason: 6
Finished.
and following is what i have done:
in .pro file
CONFIG += mobility \
console
MOBILITY += location
symbian: {
TARGET.CAPABILITY = UserEnvironment NetworkServices Location ReadUserData
}
in .h file
#include <qgeopositioninfosource.h>
#include <qgeosatelliteInfo.h>
#include <qgeocoordinate.h>
#include <qmobilityglobal.h>
#include <qgeopositioninfo.h>
#include <qnmeapositioninfosource.h>
#ifdef Q_OS_SYMBIAN
#include <qsysteminfo.h>
#else
#include <QSystemInfo> //(1)
#endif
QTM_USE_NAMESPACE
in .cpp file
QGeoPositionInfoSource iSource = QGeoPositionInfoSource::createDefaultSource(this);
it can run normally when i hide above code.......
Any ideas?




