ce514646b15fe4005f1917f15f8941ecf5866aae
[jenirok] / src / gui / gui.pro
1 QT += network sql maemo5
2 TARGET = jenirok
3 TEMPLATE = app
4 SOURCES += main.cpp \
5     mainwindow.cpp \
6     searchdialog.cpp \
7     resultwindow.cpp \
8     detailwindow.cpp \
9     settingsdialog.cpp \
10     aboutdialog.cpp \
11     buttonselector.cpp \
12     connectionselector.cpp \
13     daemon.cpp \
14     ../common/source.cpp \
15     ../common/eniro.cpp \
16     ../common/mobil1881.cpp \
17     ../common/sourcecoreconfig.cpp \
18     ../common/emptycoreconfig.cpp \
19     sourceguiconfig.cpp \
20     ../common/enirocoreconfig.cpp \
21     eniroguiconfig.cpp \
22     emptyguiconfig.cpp \
23     ../common/contactmanager.cpp \
24     ../common/db.cpp \
25     ../common/settings.cpp \
26     ../common/connectionmanager.cpp \ 
27     ../common/cache.cpp \
28     ../common/dastelefonbuch.cpp \
29     logwindow.cpp \
30     listwidget.cpp
31 HEADERS += mainwindow.h \
32     searchdialog.h \
33     resultwindow.h \
34     detailwindow.h \
35     settingsdialog.h \
36     aboutdialog.h \
37     buttonselector.h \
38     connectionselector.h \
39     daemon.h \
40     ../common/source.h \
41     ../common/eniro.h \
42     ../common/mobil1881.h \
43     ../common/sourcecoreconfig.h \
44     ../common/emptycoreconfig.h \
45     sourceguiconfig.h \
46     ../common/enirocoreconfig.h \
47     eniroguiconfig.h \
48     emptyguiconfig.h \
49     ../common/contactmanager.h \
50     ../common/db.h \
51     ../common/settings.h \
52     ../common/connectionmanager.h \
53     ../common/cache.h \
54     ../common/dastelefonbuch.h \
55     logwindow.h \
56     listwidget.h
57 RESOURCES = icons.qrc ../common/translations.qrc
58 TRANSLATIONS = ../common/translations/fi_FI.ts
59 INCLUDEPATH += ../common
60 CONFIG += link_pkgconfig
61 PKGCONFIG += libebook-1.2 gconf-2.0
62
63 unix {
64   #VARIABLES
65   isEmpty(PREFIX) {
66     PREFIX = /usr
67   }
68
69   BINDIR = $$PREFIX/bin
70   DATADIR =$$PREFIX/share
71
72   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
73
74   #MAKE INSTALL
75
76   INSTALLS += target desktop iconxpm icon26 icon48 icon64
77
78   target.path =$$BINDIR
79
80   desktop.path = $$DATADIR/applications/hildon
81   desktop.files += data/$${TARGET}.desktop
82
83   iconxpm.path = $$DATADIR/pixmap
84   iconxpm.files += data/maemo/$${TARGET}.xpm
85
86   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
87   icon26.files += data/26x26/$${TARGET}.png
88
89   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
90   icon48.files += data/48x48/$${TARGET}.png
91
92   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
93   icon64.files += data/64x64/$${TARGET}.png
94 }