X-Git-Url: http://git.maemo.org/git/?p=googlelatitude;a=blobdiff_plain;f=src%2Fsrc.pro;h=12dfc2d0749fa592a583918efaaf77aa9cfc820e;hp=a2062b93a563739b03c2ce433ca5ac74a5f4f3f8;hb=6b2767c11982f90df6d12657af252a4d35e11fd7;hpb=e5e536e85f6171ecccdb99a083d9415d0dd61e98 diff --git a/src/src.pro b/src/src.pro index a2062b9..12dfc2d 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,31 +1,37 @@ QT += network +QT += webkit +CONFIG += link_pkgconfig +PKGCONFIG += glib-2.0 liblocation TARGET = GoogleLatitude TEMPLATE = app SOURCES += main.cpp \ - latitudewidget.cpp \ - googlelatitude.cpp -HEADERS += latitudewidget.h \ - googlelatitude.h - -unix { - isEmpty(PREFIX) { - PREFIX = /usr/local - } - BINDIR = $$PREFIX/bin - DATADIR = $$PREFIX/share - DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" - - INSTALLS += target desktop iconxpm icon26 icon40 icon64 - target.path = $$BINDIR - desktop.path = $$DATADIR/applications/hildon - desktop.files += $${TARGET}.desktop - iconxpm.path = $$DATADIR/pixmap - iconxpm.files += ../data/maemo/$${TARGET}.xpm - icon26.path = $$DATADIR/icons/hicolor/26x26/apps - icon26.files += ../data/26x26/$${TARGET}.png - icon40.path = $$DATADIR/icons/hicolor/40x40/apps - icon40.files += ../data/40x40/$${TARGET}.png - icon64.path = $$DATADIR/icons/hicolor/64x64/apps - icon64.files += ../data/64x64/$${TARGET}.png + latitude.cpp \ + glatitude.cpp \ + gps.cpp +HEADERS += latitude.h \ + glatitude.h \ + gps.h +unix { + isEmpty(PREFIX):PREFIX = /usr/local + BINDIR = $$PREFIX/bin + DATADIR = $$PREFIX/share + DEFINES += DATADIR=\"$$DATADIR\" \ + PKGDATADIR=\"$$PKGDATADIR\" + INSTALLS += target \ + desktop \ + iconxpm \ + icon26 \ + icon40 \ + icon64 + target.path = $$BINDIR + desktop.path = $$DATADIR/applications/hildon + desktop.files += $${TARGET}.desktop + iconxpm.path = $$DATADIR/pixmap + iconxpm.files += ../data/maemo/$${TARGET}.xpm + icon26.path = $$DATADIR/icons/hicolor/26x26/apps + icon26.files += ../data/26x26/$${TARGET}.png + icon40.path = $$DATADIR/icons/hicolor/40x40/apps + icon40.files += ../data/40x40/$${TARGET}.png + icon64.path = $$DATADIR/icons/hicolor/64x64/apps + icon64.files += ../data/64x64/$${TARGET}.png } -