Hi! I'm trying to do an app with Qt Mobility libs and new Qt Nokia SDK.
I've this in .pro:
...
CONFIG += mobility
MOBILITY = sensors
symbian {
TARGET.UID3 = 0xe27aa5b4
TARGET.CAPABILITY += Location \
NetworkServices \
LocalServices \
ReadUserData \
WriteUserData \
UserEnvironment \
ReadDeviceData \
WriteDeviceData
...
//.cpp
...
Sensors::Sensors(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Sensors),acc(0)
{
ui->setupUi(this);
acc = new QSensor("QAccelerometer");
acc->setIdentifier("sym.accelerometer");
acc->addFilter(this);
acc->start();
}
...
Then it gives to me that errors:
undefined reference to 'QtMobility::QSensor::QSensor(QByteArray const&......
undefined reference to 'QtMobility::QSensor::setIdentifier(QByteArray.......
.....
.....
.....
Thanks!![]()



