5ba85946f21c6c9b7fa05afa65e9deaf400e95bb
[jenirok] / src / gui / gui.pro
1 QT += network sql maemo5
2 TARGET = jenirok
3 TEMPLATE = app
4 SOURCES += main.cpp mainwindow.cpp searchdialog.cpp resultwindow.cpp detailwindow.cpp settingsdialog.cpp aboutdialog.cpp buttonselector.cpp daemon.cpp ../common/eniro.cpp ../common/contactmanager.cpp ../common/db.cpp ../common/settings.cpp ../common/connectionmanager.cpp ../common/cache.cpp
5 HEADERS += mainwindow.h searchdialog.h resultwindow.h detailwindow.h settingsdialog.h aboutdialog.h buttonselector.h daemon.h ../common/eniro.h ../common/contactmanager.h ../common/db.h ../common/settings.h ../common/connectionmanager.h ../common/cache.h
6 TRANSLATIONS = ../common/translations/fi_FI.ts
7 RESOURCES = icons.grc ../common/translations.grc
8 INCLUDEPATH += ../common
9 CONFIG += link_pkgconfig
10 PKGCONFIG += libebook-1.2 glib-2.0
11
12 unix {
13   #VARIABLES
14   isEmpty(PREFIX) {
15     PREFIX = /usr
16   }
17
18   BINDIR = $$PREFIX/bin
19   DATADIR =$$PREFIX/share
20
21   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
22
23   #MAKE INSTALL
24
25   INSTALLS += target desktop iconxpm icon26 icon48 icon64
26
27   target.path =$$BINDIR
28
29   desktop.path = $$DATADIR/applications/hildon
30   desktop.files += data/$${TARGET}.desktop
31
32   iconxpm.path = $$DATADIR/pixmap
33   iconxpm.files += data/maemo/$${TARGET}.xpm
34
35   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
36   icon26.files += data/26x26/$${TARGET}.png
37
38   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
39   icon48.files += data/48x48/$${TARGET}.png
40
41   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
42   icon64.files += data/64x64/$${TARGET}.png
43 }