1 #-------------------------------------------------
3 # Project created by QtCreator 2010-08-03T08:54:27
5 #-------------------------------------------------
16 MDICT_BINDIR = $$[MDICT_BINDIR]
18 isEmpty(MDICT_BINDIR) {
22 DESTDIR = $${MDICT_BINDIR}
24 SOURCES += gui/main.cpp\
26 gui/SearchBarWidget.cpp \
27 gui/WordListWidget.cpp \
28 gui/TranslationWidget.cpp \
29 backbone/backbone.cpp \
31 gui/MenuTabWidget.cpp \
32 gui/DictManagerWidget.cpp \
33 gui/DictTypeSelectDialog.cpp \
34 backbone/History.cpp \
35 gui/HistoryListDialog.cpp
37 HEADERS += gui/MainWindow.h \
38 gui/SearchBarWidget.h \
39 gui/WordListWidget.h \
40 gui/TranslationWidget.h \
42 ../includes/translation.h \
43 ../includes/settings.h \
44 ../includes/CommonDictInterface.h \
47 gui/DictManagerWidget.h \
48 gui/DictTypeSelectDialog.h \
49 gui/TranslationWidgetAutoResizer.h \
50 ../includes/History.h \
51 gui/HistoryListDialog.h \
52 ../includes/GUIInterface.h
54 FORMS += gui/MainWindow.ui
62 DATADIR =$$PREFIX/share
64 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
68 INSTALLS += target desktop icon64 configs
70 configs.path = ~/.mdictionary
71 configs.files += ../../../data/mdictionary.defaults
76 desktop.path = $$DATADIR/applications/hildon
77 icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
81 desktop.path = $$DATADIR/applications
82 icon64.path = $$DATADIR/icons
84 desktop.files += ../../../data/other/$${TARGET}.desktop
85 icon64.files += ../../../data/icons/64x64/$${TARGET}.png