Some fixes and dialog for advanced settings.
[irwi] / src / src.pro
1 TEMPLATE = app
2 TARGET = irwi
3
4 SOURCES += main.cpp
5 SOURCES += mainwidget.cpp
6 SOURCES += irctrl.cpp
7 SOURCES += irctrl_p.cpp
8 SOURCES += settingsdlg.cpp
9 SOURCES += selectremotedlg.cpp
10 SOURCES += advsettingsdlg.cpp
11
12 HEADERS += mainwidget.h
13 HEADERS += irctrl.h
14 HEADERS += irctrl_p.h
15 HEADERS += settingsdlg.h
16 HEADERS += selectremotedlg.h
17 HEADERS += advsettingsdlg.h
18
19 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
20
21
22 QT += network
23
24 unix {
25 #VARIABLES
26 isEmpty(PREFIX) {
27     PREFIX = /usr
28 }
29
30 BINDIR = $$PREFIX/bin
31 DATADIR =$$PREFIX/share
32
33 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
34
35 #MAKE INSTALL
36
37 INSTALLS += target desktop iconxpm icon26 icon48 icon64
38
39   target.path = $$PREFIX/lib/hildon-desktop
40
41   desktop.path = $$PREFIX/share/applications/hildon-home
42   desktop.files += $${TARGET}.desktop
43
44   iconxpm.path = $$DATADIR/pixmap
45   iconxpm.files += ../data/maemo/$${TARGET}.xpm
46
47   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
48   icon26.files += ../data/26x26/$${TARGET}.png
49
50   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
51   icon48.files += ../data/48x48/$${TARGET}.png
52
53   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
54   icon64.files += ../data/64x64/$${TARGET}.png
55 }
56