Qt includes all kinds of nice positioning and location things, unfortunately they are not allowed in Jolla store yet, but it seems to be allowed to talk directly with geoclue trough D-Bus. Examples? Oh nonono. So after a loot of searching I found a blog post describing what you need to do and combined that to a simple Hello World GPS application.
Hello GPS was born.
It is a very basic app, just displayes the GPS data and nothing more.