2009-01-28 20:55:45 +00:00
|
|
|
######################################################################
|
|
|
|
# Automatically generated by qmake (2.01a) ?? ????. 2 18:38:07 2008
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
TEMPLATE = app
|
2009-04-12 19:41:58 +00:00
|
|
|
TARGET = goldendict
|
2009-04-12 20:46:25 +00:00
|
|
|
VERSION = 0.8.0-svn
|
2009-01-28 20:55:45 +00:00
|
|
|
#DEPENDPATH += . generators
|
|
|
|
INCLUDEPATH += .
|
|
|
|
|
|
|
|
QT += webkit
|
|
|
|
QT += xml
|
|
|
|
QT += network
|
|
|
|
|
2009-02-02 01:35:19 +00:00
|
|
|
CONFIG += exceptions rtti stl
|
|
|
|
|
2009-01-28 20:55:45 +00:00
|
|
|
OBJECTS_DIR = build
|
|
|
|
UI_DIR = build
|
|
|
|
MOC_DIR = build
|
|
|
|
RCC_DIR = build
|
|
|
|
|
2009-04-09 14:15:01 +00:00
|
|
|
LIBS += -lvorbisfile -lvorbis -logg -lz -lzip -lhunspell
|
2009-02-02 01:35:19 +00:00
|
|
|
|
|
|
|
win32 {
|
2009-04-18 18:41:11 +00:00
|
|
|
LIBS += -liconv -lwsock32 -lwinmm -lpsapi
|
2009-02-06 11:54:27 +00:00
|
|
|
RC_FILE = goldendict.rc
|
2009-04-17 12:02:50 +00:00
|
|
|
INCLUDEPATH += winlibs/include
|
|
|
|
LIBS += -Lwinlibs/lib
|
2009-02-02 01:35:19 +00:00
|
|
|
}
|
2009-01-28 20:55:45 +00:00
|
|
|
|
2009-04-12 19:41:58 +00:00
|
|
|
unix {
|
|
|
|
|
|
|
|
PREFIX = $$(PREFIX)
|
|
|
|
|
|
|
|
isEmpty( PREFIX ) {
|
|
|
|
PREFIX = /usr/local
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
|
|
|
|
|
|
|
|
target.path = $$PREFIX/bin/
|
|
|
|
locale.path = $$PREFIX/share/apps/goldendict/locale/
|
|
|
|
locale.files = locale/ru.qm
|
|
|
|
|
|
|
|
INSTALLS += target locale
|
|
|
|
}
|
|
|
|
|
2009-04-12 22:02:15 +00:00
|
|
|
DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
|
|
|
|
|
2009-01-28 20:55:45 +00:00
|
|
|
# Input
|
|
|
|
HEADERS += folding.hh \
|
|
|
|
inc_case_folding.hh \
|
|
|
|
inc_diacritic_folding.hh \
|
|
|
|
mainwindow.hh \
|
|
|
|
sptr.hh \
|
|
|
|
dictionary.hh \
|
|
|
|
ex.hh \
|
|
|
|
config.hh \
|
|
|
|
sources.hh \
|
|
|
|
utf8.hh \
|
|
|
|
file.hh \
|
|
|
|
bgl_babylon.hh \
|
|
|
|
bgl.hh \
|
|
|
|
initializing.hh \
|
|
|
|
article_netmgr.hh \
|
|
|
|
dictzip.h \
|
|
|
|
btreeidx.hh \
|
|
|
|
stardict.hh \
|
|
|
|
chunkedstorage.hh \
|
|
|
|
xdxf2html.hh \
|
|
|
|
iconv.hh \
|
|
|
|
lsa.hh \
|
|
|
|
htmlescape.hh \
|
|
|
|
dsl.hh \
|
|
|
|
dsl_details.hh \
|
|
|
|
filetype.hh \
|
|
|
|
fsencoding.hh \
|
|
|
|
groups.hh \
|
|
|
|
groups_widgets.hh \
|
|
|
|
instances.hh \
|
|
|
|
article_maker.hh \
|
|
|
|
scanpopup.hh \
|
|
|
|
articleview.hh \
|
2009-01-29 19:16:25 +00:00
|
|
|
externalviewer.hh \
|
2009-02-01 00:08:08 +00:00
|
|
|
wordfinder.hh \
|
|
|
|
groupcombobox.hh \
|
2009-02-02 20:28:53 +00:00
|
|
|
keyboardstate.hh \
|
2009-02-05 20:55:00 +00:00
|
|
|
mouseover.hh \
|
2009-03-26 19:00:08 +00:00
|
|
|
preferences.hh \
|
|
|
|
mutex.hh \
|
2009-04-04 16:06:06 +00:00
|
|
|
mediawiki.hh \
|
2009-04-09 14:15:01 +00:00
|
|
|
sounddir.hh \
|
2009-04-09 18:50:49 +00:00
|
|
|
hunspell.hh \
|
2009-04-10 21:07:03 +00:00
|
|
|
dictdfiles.hh \
|
2009-04-18 17:20:12 +00:00
|
|
|
audiolink.hh \
|
|
|
|
wstring.hh \
|
2009-04-18 18:41:11 +00:00
|
|
|
wstring_qt.hh \
|
|
|
|
processwrapper.hh
|
2009-01-28 20:55:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
FORMS += groups.ui dictgroupwidget.ui mainwindow.ui sources.ui initializing.ui\
|
2009-02-08 14:02:27 +00:00
|
|
|
groupselectorwidget.ui scanpopup.ui articleview.ui preferences.ui\
|
|
|
|
about.ui
|
2009-01-28 20:55:45 +00:00
|
|
|
|
2009-03-26 19:15:00 +00:00
|
|
|
SOURCES += folding.cc main.cc dictionary.cc config.cc sources.cc \
|
2009-01-28 20:55:45 +00:00
|
|
|
mainwindow.cc utf8.cc file.cc bgl_babylon.cc bgl.cc initializing.cc \
|
|
|
|
article_netmgr.cc dictzip.c btreeidx.cc stardict.cc \
|
|
|
|
chunkedstorage.cc xdxf2html.cc iconv.cc lsa.cc htmlescape.cc \
|
|
|
|
dsl.cc dsl_details.cc filetype.cc fsencoding.cc groups.cc \
|
|
|
|
groups_widgets.cc instances.cc article_maker.cc scanpopup.cc \
|
2009-03-26 19:00:08 +00:00
|
|
|
articleview.cc externalviewer.cc wordfinder.cc \
|
|
|
|
groupcombobox.cc keyboardstate.cc mouseover.cc preferences.cc \
|
2009-04-10 21:07:03 +00:00
|
|
|
mutex.cc mediawiki.cc sounddir.cc hunspell.cc dictdfiles.cc \
|
2009-04-18 18:41:11 +00:00
|
|
|
audiolink.cc wstring.cc wstring_qt.cc processwrapper.cc
|
2009-02-02 20:28:53 +00:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
SOURCES += mouseover_win32/ThTypes.c
|
|
|
|
HEADERS += mouseover_win32/ThTypes.h
|
|
|
|
}
|
2009-01-28 20:55:45 +00:00
|
|
|
|
|
|
|
RESOURCES += resources.qrc flags.qrc
|
2009-04-12 16:48:40 +00:00
|
|
|
|
|
|
|
TRANSLATIONS += locale/ru.ts
|