Search code examples
c++qtlocationsymbian

QT location classes


How can I connect to gps data in qt for symbian 9.3 ?

I write this in qt

#include <QGeoCoordinate>

But result is: No such file or directory (((

I have write to .pro TARGET.CAPABILITY += Location but it's all the same.

How i can access to location classes ?

QT 4.7.0

I search on my disk for, for example QGeoCoordinate class, but result is 0


Solution

  • If I'm not mistaken, QGeoCoordinate is part of the Qt Mobility API.

    Thus, you need to install the Mobility API and add something like

    CONFIG+=mobility
    MOBILITY=location
    

    to your .pro file.