This Qt Quick/Qt C++ example application demonstrates how to use the Qt Mobility Service Framework. The example has been divided into two parts: a daemon service and a client UI that interacts with the daemon. The daemon service tracks the user's GPS location and can be used to send it to another user requesting the location.
The project is being hosted and developed at: https://projects.forum.nokia.com/wwdaemon where you can read additional documentation on design considerations, check possible newer revisions, and also contribute to the project.