X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=libffqw-demo-1.0%2Fdemo.pro;fp=libffqw-demo-1.0%2Fdemo.pro;h=cab68044356b658e404b0fc72a061621b3c6fee5;hb=1273d1fbb03faf468b080ca8f2f78717e6949815;hp=0000000000000000000000000000000000000000;hpb=0cf856837e9dc2e271c8e16390758bf02107f678;p=ffqwlibrary diff --git a/libffqw-demo-1.0/demo.pro b/libffqw-demo-1.0/demo.pro new file mode 100644 index 0000000..cab6804 --- /dev/null +++ b/libffqw-demo-1.0/demo.pro @@ -0,0 +1,48 @@ +TEMPLATE = app +TARGET = ffqwdemo +CONFIG += link_pkgconfig +QT += core \ + gui \ + svg +HEADERS += sources/mainwindow.h +SOURCES += sources/main.cpp \ + sources/mainwindow.cpp +RESOURCES += +LIBS += -L../../ \ + -L/etc/lib/ \ + -lffqw +INCLUDEPATH += ../../sources + +maemo { + LIBS+= -losso \ + -ldbus-glib-1 \ + -ldbus-1 \ + -lgobject-2.0 \ + -lglib-2.0 + DEFINES += MAEMO + PKGCONFIG += dbus-1 glib-2.0 dbus-glib-1 gconf-2.0 osso-ic +} + +deb { + message(Creating Makefile for DEB binary package) + + desktop.files = data/ffqwdemo.desktop + desktop.path = debian/libffqw-demo/usr/share/applications/hildon/ + + pics.files = data/ffqwdemo.png + pics.path = debian/libffqw-demo/usr/share/pixmaps/ + + service.files = data/ffqwdemo.service + service.path = debian/libffqw-demo/usr/share/dbus-1/services/ + + target.files = ffqwdemo + target.path = debian/libffqw-demo/usr/bin + + INSTALLS += desktop pics service +} +else { + target.path = /usr/bin + message(Creating Makefile for Linux) +} + +INSTALLS += target