Added Das Telefonbuch support.
[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 HEADERS += mainwindow.h \
30     searchdialog.h \
31     resultwindow.h \
32     detailwindow.h \
33     settingsdialog.h \
34     aboutdialog.h \
35     buttonselector.h \
36     connectionselector.h \
37     daemon.h \
38     ../common/source.h \
39     ../common/eniro.h \
40     ../common/mobil1881.h \
41     ../common/sourcecoreconfig.h \
42     ../common/emptycoreconfig.h \
43     sourceguiconfig.h \
44     ../common/enirocoreconfig.h \
45     eniroguiconfig.h \
46     emptyguiconfig.h \
47     ../common/contactmanager.h \
48     ../common/db.h \
49     ../common/settings.h \
50     ../common/connectionmanager.h \
51     ../common/cache.h \
52     ../common/dastelefonbuch.h
53 TRANSLATIONS = ../common/translations/fi_FI.ts
54 RESOURCES = icons.grc ../common/translations.grc
55 INCLUDEPATH += ../common
56 CONFIG += link_pkgconfig
57 PKGCONFIG += libebook-1.2 gconf-2.0
58
59 unix {
60   #VARIABLES
61   isEmpty(PREFIX) {
62     PREFIX = /usr
63   }
64
65   BINDIR = $$PREFIX/bin
66   DATADIR =$$PREFIX/share
67
68   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
69
70   #MAKE INSTALL
71
72   INSTALLS += target desktop iconxpm icon26 icon48 icon64
73
74   target.path =$$BINDIR
75
76   desktop.path = $$DATADIR/applications/hildon
77   desktop.files += data/$${TARGET}.desktop
78
79   iconxpm.path = $$DATADIR/pixmap
80   iconxpm.files += data/maemo/$${TARGET}.xpm
81
82   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
83   icon26.files += data/26x26/$${TARGET}.png
84
85   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
86   icon48.files += data/48x48/$${TARGET}.png
87
88   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
89   icon64.files += data/64x64/$${TARGET}.png
90 }