removeAccents refactorized out to the AccentsNormalizer class
[mdictionary] / trunk / src / base / base.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-08-03T08:54:27
3 # -------------------------------------------------
4 QT += core \
5     gui \
6     sql \
7     xml \
8     xmlpatterns
9 maemo5:QT += maemo5
10 TARGET = mdictionary
11 TEMPLATE = app
12 MDICT_BINDIR = $$[MDICT_BINDIR]
13 isEmpty(MDICT_BINDIR):MDICT_BINDIR = .
14 DESTDIR = $${MDICT_BINDIR}
15 SOURCES += gui/main.cpp \
16     gui/MainWindow.cpp \
17     gui/SearchBarWidget.cpp \
18     gui/WordListWidget.cpp \
19     gui/TranslationWidget.cpp \
20     backbone/backbone.cpp \
21     gui/MenuWidget.cpp \
22     gui/MenuTabWidget.cpp \
23     gui/DictManagerWidget.cpp \
24     gui/DictTypeSelectDialog.cpp \
25     backbone/History.cpp \
26     gui/HistoryListDialog.cpp \
27     gui/WordListProxyStyle.cpp \
28     backbone/Bookmarks.cpp \
29     gui/SettingsWidget.cpp \
30     gui/BookmarksWidget.cpp \
31     gui/WelcomeScreenWidget.cpp \
32     gui/AboutWidget.cpp \
33     gui/TranslationTextEdit.cpp
34 HEADERS += gui/MainWindow.h \
35     gui/AboutWidget.h \
36     gui/SearchBarWidget.h \
37     gui/WordListWidget.h \
38     gui/TranslationWidget.h \
39     backbone/backbone.h \
40     ../includes/translation.h \
41     ../includes/settings.h \
42     ../includes/CommonDictInterface.h \
43     gui/MenuWidget.h \
44     gui/MenuTabWidget.h \
45     gui/DictManagerWidget.h \
46     gui/DictTypeSelectDialog.h \
47     gui/TranslationWidgetAutoResizer.h \
48     ../includes/History.h \
49     gui/HistoryListDialog.h \
50     ../includes/GUIInterface.h \
51     gui/WordListProxyStyle.h \
52     backbone/Bookmarks.h \
53     backbone/BookmarkTranslations.h \
54     gui/SettingsWidget.h \
55     gui/BookmarksWidget.h \
56     gui/WelcomeScreenWidget.h \
57     ../includes/Notify.h \
58     gui/TranslationTextEdit.h \
59     ../includes/AccentsNormalizer.h \
60     ../includes/DictDialog.h
61 FORMS += 
62 RESOURCES += ../../../data/icons/gui.qrc
63 unix { 
64     # VARIABLES
65     isEmpty(PREFIX):PREFIX = /usr
66     BINDIR = $$PREFIX/bin
67     DATADIR = $$PREFIX/share
68     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
69         PKGDATADIR=\\\"$$PKGDATADIR\\\"
70     
71     # MAKE INSTALL
72     INSTALLS += target \
73         desktop \
74         icon64 \
75         configs
76     configs.path = ~/.mdictionary
77     configs.files += ../../../data/mdictionary.defaults
78     target.path = $$BINDIR
79     maemo5 { 
80         desktop.path = $$DATADIR/applications/hildon
81         icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
82     }
83     !maemo5 { 
84         desktop.path = $$DATADIR/applications
85         icon64.path = $$DATADIR/icons
86     }
87     desktop.files += ../../../data/other/$${TARGET}.desktop
88     icon64.files += ../../../data/icons/64x64/$${TARGET}.png
89 }
90 RESOURCES += xslt2.qrc