View Single Post
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#305
at the end of this page, you'll find an example to use liblocation api

Link: http://wiki.maemo.org/Documentation/...g_Location_API

Also down here attached you have a Qt example about the Maemo Location that uses liblocation, reference is here: http://maemo.org/api_refs/5.0/5.0-final/liblocation/

add this to your .pro file

Code:
CONFIG          += link_pkgconfig
PKGCONFIG   += gtk+-2.0 hildon-1 liblocation
to build

gcc main.c `pkg-config --cflags --libs gtk+-2.0 hildon-1 liblocation`

one question: do you have a way to print a bug report? i mean. can you implement a way to log all the classe error on a file? to help you in this way will be nice a bugreport button on phoneme. something like send a bug. just becouse i tryed many games/apps free and copyrighted..
Attached Files
File Type: zip Qt_for_Maemo_Location_Example.zip (2.6 KB, 99 views)