<kate.alhola at nokia.com>
2010-03-29 09:39 UTC >________________________________________
>From: maemo-developers-bounces@maemo.org [maemo-developers-bounces@maemo.org] On Behalf Of ext Christoph Eckert [ce@christeck.de]
>Sent: Monday, March 29, 2010 1:14 AM
>To: maemo-developers@maemo.org
>Subject: How to include glib-object.h
>
>Hi,
>
>I try to port a Maemo 4.1 pygtk application to Qt4 on Maemo 5. The application
>is running, but now it requires location data. Since the location API has
>changed in Maemo 5, I try to understand the example given at
>http://bit.ly/a3HTFD
May be better solution is to use directly qt-mobility libqtm-location .
Qt mobility will be foture proof cross platfrom solution. For marmatan
native location API will anyhow change. For fremantle libqtmlocation
is wrapper over liblocation0 . For Harmatan its is direct connection to dbus
but API remains same.
Kate
>As soon as I put
>#include <location/location-gps-device.h>
>#include <location/location-gpsd-control.h>
>in one of my files, the compiler complains:
>http://pastebin.com/c45NU0FB
>
>glib-object.h: No such file or directory
>
>This file includes further files, as listed here:
>http://bit.ly/dprcX6
I'm obviously missing some include path or similar. Appearently I'm a bloody
hobbyist, so please bear with me :) . Any hint, even RTFM is much appreciated.
Best regards,
ce