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