I did all of that already and I'm happy to report that I successfully added liblocation support to my Qt application. Still, I find the example lacking, especially considering that it describes itself as a Qt example when clearly it has nothing to do with it. I have no experience with glib/GTK+ coding. Here are some pointers as to what could be improved:Use Qt for the UI (obviously). Show how to integrate the glib event loop into the Qt event loop. My use case: try to get a GPS fix, but show a dialog that allows the user to abort the operation. How do I need to modify .pro files to make my project compile with liblocation? As I said, I was able to solve all of these problems. But it also meant that I spent a weekend implementing a feature that could have taken just a few hours at most.