Added dictionaries settings dialog
[mdictionary] / trunk / src / base / base.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-08-03T08:54:27
4 #
5 #-------------------------------------------------
6
7 QT       += core gui 
8
9 TARGET = mdictionary
10 TEMPLATE = app
11
12 MDICT_BINDIR = $$[MDICT_BINDIR]
13
14 isEmpty(MDICT_BINDIR) {
15   MDICT_BINDIR = .
16 }
17
18 DESTDIR = $${MDICT_BINDIR}
19
20 SOURCES += gui/main.cpp\
21         gui/MainWindow.cpp \
22     gui/SearchBarWidget.cpp \
23     gui/WordListWidget.cpp \
24     gui/TranslationWidget.cpp \
25     backbone/backbone.cpp \
26     gui/MenuWidget.cpp \
27     gui/MenuTabWidget.cpp \
28     gui/DictManagerWidget.cpp \
29     gui/DictTypeSelectDialog.cpp
30
31 HEADERS  += gui/MainWindow.h \
32     gui/SearchBarWidget.h \
33     gui/WordListWidget.h \
34     gui/TranslationWidget.h \
35     backbone/backbone.h \
36     ../includes/translation.h \
37     ../includes/settings.h \
38     ../includes/CommonDictInterface.h \
39     gui/MenuWidget.h \
40     gui/MenuTabWidget.h \
41     gui/DictManagerWidget.h \
42     gui/DictTypeSelectDialog.h
43
44 FORMS    += gui/MainWindow.ui
45
46 unix {
47   #VARIABLES
48   isEmpty(PREFIX) {
49     PREFIX = /usr
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 icon64
59
60   target.path =$$BINDIR
61
62   desktop.path = $$DATADIR/applications/hildon
63   desktop.files += ../../../data/other/$${TARGET}.desktop
64
65   icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
66   icon64.files += ../../../data/icons/64x64/$${TARGET}.png
67 }