Reply
Thread Tools
Posts: 17 | Thanked: 42 times | Joined on Feb 2010
#1
Hi all,

I'm developing an application in Qt... how would I go about getting the current location from the GPS?

Thanks,
Stewart
 
Posts: 17 | Thanked: 42 times | Joined on Feb 2010
#2
I should post more often when I have a question to ask, it helps me a lot in answering my own question. For posterity/anyone interested: http://qtmapper.garage.maemo.org/ does just what I/you need! Now to dig through it all...
 

The Following 3 Users Say Thank You to StewartHolmes For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#3
Originally Posted by StewartHolmes View Post
I should post more often when I have a question to ask, it helps me a lot in answering my own question. For posterity/anyone interested: http://qtmapper.garage.maemo.org/ does just what I/you need! Now to dig through it all...
Have as well a look at the Qt Mobility project. First packages are available in extras-devel as a tech-preview. So don't expect something which is ready, but you could give it a try. It requires Qt 4.6 to run. Otherwise (more stable, but not pure Qt) you could have a look at this example, which uses the C-libs of the liblocation API (more). The instructions on how to build it are not so good, but look at this thread to get the information. Or add to your *.pro file:

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

The Following 2 Users Say Thank You to danielwilms For This Useful Post:
Posts: 17 | Thanked: 42 times | Joined on Feb 2010
#4
Thanks Daniel... QtMobility is the thing that I wanted to exist, a nice clean way to interface with device independent things handled by the Qt implementation. I'll give it a shot.
 
Posts: 60 | Thanked: 23 times | Joined on Jan 2010
#5
Maybe this is just very stupid, but i only find qt mobility files for maemo 1 2 3 and 4.
qt-mobility_1.0.0-beta1-maemo1.tar.gz
qt-mobility_1.0.0-beta1-maemo2.tar.gz
qt-mobility_1.0.0-beta1-maemo3.tar.gz
qt-mobility_1.0.0-beta1-maemo4.tar.gz

where is qt mobility for maemo 5?

http://repository.maemo.org/extras-d...q/qt-mobility/
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#6
Originally Posted by tmsha View Post
Maybe this is just very stupid, but i only find qt mobility files for maemo 1 2 3 and 4.
qt-mobility_1.0.0-beta1-maemo1.tar.gz
qt-mobility_1.0.0-beta1-maemo2.tar.gz
qt-mobility_1.0.0-beta1-maemo3.tar.gz
qt-mobility_1.0.0-beta1-maemo4.tar.gz

where is qt mobility for maemo 5?
These are the version numbers for different versions of qt-mobility, but all for Maemo 5.

Daniel
 

The Following 2 Users Say Thank You to danielwilms For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:30.