DEFINES +=
CONFIG += link_pkgconfig
PKGCONFIG += glib-2.0 liblocation
-
+exists(/usr/lib/liblocation.so) {
+ DEFINES += LIBLOCATION
+ message(liblocation found)
+}
install_app.commands = $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET)
install_dsk.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop
install.depends = $(TARGET) install_app install_dsk