98d82c0930e9aacccc74d6f1418882cf63c8efcf
[irwi] / src / src.pro
1 TEMPLATE = app
2 TARGET = irwi
3
4 # DEFINES += LIRC_USEQTSOCKET
5
6 SOURCES += rating.cpp
7 SOURCES += settingsdlg.cpp
8 SOURCES += main.cpp
9 SOURCES += mainwidget.cpp
10 SOURCES += irctrl.cpp
11 SOURCES += remote.cpp
12 SOURCES += remotedbmgr.cpp
13 SOURCES += selectremotedlg.cpp
14 SOURCES += advsettingsdlg.cpp
15 SOURCES += settingstable.cpp
16 SOURCES += aboutdlg.cpp
17 SOURCES += remotelistwidgetitem.cpp
18 SOURCES += onlinepollerthread.cpp
19 SOURCES += remotetable.cpp
20
21 HEADERS += rating.h
22 HEADERS += settingsdlg.h
23 HEADERS += mainwidget.h
24 HEADERS += irctrl.h
25 HEADERS += remote.h
26 HEADERS += remotedbmgr.h
27 HEADERS += selectremotedlg.h
28 HEADERS += advsettingsdlg.h
29 HEADERS += settingstable.h
30 HEADERS += aboutdlg.h
31 HEADERS += remotelistwidgetitem.h
32 HEADERS += onlinepollerthread.h
33 HEADERS += remotetable.h
34
35 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
36
37 OBJECTS_DIR = obj
38 MOC_DIR = moc
39
40 QT += network
41 QT += xml
42 QT += dbus
43 QT += svg
44
45 CONFIG += mobility
46 MOBILITY += bearer
47
48 unix {
49 #VARIABLES
50 isEmpty(PREFIX) {
51     PREFIX = /usr
52 }
53
54 BINDIR = $$PREFIX/bin
55 DATADIR =$$PREFIX/share
56
57 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
58
59 #MAKE INSTALL
60
61 INSTALLS += target desktop iconxpm icon26 icon48 icon64 symbols
62
63   target.path = $$PREFIX/lib/hildon-desktop
64
65   desktop.path = $$PREFIX/share/applications/hildon-home
66   desktop.files += $${TARGET}.desktop
67
68   iconxpm.path = $$DATADIR/pixmap
69   iconxpm.files += ../data/maemo/$${TARGET}.xpm
70
71   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
72   icon26.files += ../data/26x26/$${TARGET}.png
73
74   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
75   icon48.files += ../data/48x48/$${TARGET}.png
76
77   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
78   icon64.files += ../data/64x64/$${TARGET}.png
79
80   symbols.path = $$DATADIR/irwi/symbols
81   symbols.files += ../data/symbols/symbol_thumbs_up.svg
82   symbols.files += ../data/symbols/symbol_thumbs_down.svg
83 }
84