Marina K.
30th June 2011, 12:11
Hi everyone,
i want to try how sensors work.
How can i include "QtSensors" module into a project?
I have installed the latest Qt SDK 1.1.
Why can't i simply write in ".pro" file
CONFIG += mobility
MOBILITY += sensors
and in ".h" file add
#include <QSensor> and then declare variable
QSensor* sensor; ????
This is really frustrating...
Thx!
Marina
i want to try how sensors work.
How can i include "QtSensors" module into a project?
I have installed the latest Qt SDK 1.1.
Why can't i simply write in ".pro" file
CONFIG += mobility
MOBILITY += sensors
and in ".h" file add
#include <QSensor> and then declare variable
QSensor* sensor; ????
This is really frustrating...
Thx!
Marina