01-15-2013 02:11 PM
I have a c++ cascades project that is using QCompass. I include the <QCompass> at the top of the hpp file. I have a class level compass named m_compass.
In the pro file I added the CONFIG += mobility, and MOBILITY += sensors
In the cpp file, I have this:
// at the top using namespace QtMobility; //... // in the constructor m_compass->setAxesOrientationMode(AxesOrientationMode::FixedOrientation);
It's giving me the error:
'AxesOrientationMode' has not been declared
But it looks like its part of the compass file. I'm guessing I'm missing an include, but can't find which one.
Solved! Go to Solution.
01-15-2013 04:11 PM
01-15-2013 04:27 PM