Website updated.
[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 += onlinepollerthread.cpp
18 SOURCES += remotetable.cpp
19
20 HEADERS += rating.h
21 HEADERS += settingsdlg.h
22 HEADERS += mainwidget.h
23 HEADERS += irctrl.h
24 HEADERS += remote.h
25 HEADERS += remotedbmgr.h
26 HEADERS += selectremotedlg.h
27 HEADERS += advsettingsdlg.h
28 HEADERS += settingstable.h
29 HEADERS += aboutdlg.h
30 HEADERS += onlinepollerthread.h
31 HEADERS += remotetable.h
32
33 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
34
35 OBJECTS_DIR = obj
36 MOC_DIR = moc
37
38 QT += network
39 QT += xml
40 QT += dbus
41
42 CONFIG += mobility
43 MOBILITY += bearer
44
45 unix {
46 #VARIABLES
47 isEmpty(PREFIX) {
48     PREFIX = /usr
49 }
50
51 BINDIR = $$PREFIX/bin
52 DATADIR =$$PREFIX/share
53
54 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
55
56 #MAKE INSTALL
57
58 INSTALLS += target desktop iconxpm icon26 icon48 icon64 symbols
59
60   target.path = $$PREFIX/lib/hildon-desktop
61
62   desktop.path = $$PREFIX/share/applications/hildon-home
63   desktop.files += $${TARGET}.desktop
64
65   iconxpm.path = $$DATADIR/pixmap
66   iconxpm.files += ../data/maemo/$${TARGET}.xpm
67
68   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
69   icon26.files += ../data/26x26/$${TARGET}.png
70
71   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
72   icon48.files += ../data/48x48/$${TARGET}.png
73
74   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
75   icon64.files += ../data/64x64/$${TARGET}.png
76
77   symbols.path = $$DATADIR/irwi/symbols
78   symbols.files += ../data/symbols/*.png
79 }
80