added all files
[ffqwlibrary] / libffqw-demo-1.0 / demo.pro
1 TEMPLATE = app
2 TARGET = ffqwdemo
3 CONFIG += link_pkgconfig
4 QT += core \
5     gui \
6     svg
7 HEADERS += sources/mainwindow.h
8 SOURCES += sources/main.cpp \
9     sources/mainwindow.cpp
10 RESOURCES += 
11 LIBS += -L../../ \
12     -L/etc/lib/ \
13     -lffqw 
14 INCLUDEPATH += ../../sources
15
16 maemo {
17   LIBS+= -losso \
18          -ldbus-glib-1 \
19          -ldbus-1 \
20          -lgobject-2.0 \
21          -lglib-2.0
22   DEFINES += MAEMO
23   PKGCONFIG += dbus-1 glib-2.0 dbus-glib-1 gconf-2.0 osso-ic
24 }
25
26 deb {
27   message(Creating Makefile for DEB binary package)
28
29   desktop.files = data/ffqwdemo.desktop
30   desktop.path = debian/libffqw-demo/usr/share/applications/hildon/
31  
32   pics.files = data/ffqwdemo.png
33   pics.path = debian/libffqw-demo/usr/share/pixmaps/
34  
35   service.files = data/ffqwdemo.service
36   service.path = debian/libffqw-demo/usr/share/dbus-1/services/
37
38   target.files = ffqwdemo
39   target.path = debian/libffqw-demo/usr/bin
40  
41   INSTALLS += desktop pics service
42 }
43 else {
44   target.path = /usr/bin
45   message(Creating Makefile for Linux)
46 }
47
48 INSTALLS += target