The Next Generation GoldenDict https://xiaoyifang.github.io/goldendict-ng/
Go to file
2022-02-03 14:03:16 +08:00
.github github action:modify release note 2022-01-26 23:44:53 +08:00
flags high dpi:add svg 2022-01-24 22:10:43 +08:00
generators
help
howto howto: modify capture2text configuration screenshot 2022-01-28 15:52:09 +08:00
icons high dpi:remove icon 2022-01-28 10:59:04 +08:00
locale lupdate ts files , remove obosolete entries. 2022-02-03 14:03:16 +08:00
maclibs
nsis
opencc
qtsingleapplication clean code: remove qtsingleapplication pro file. 2022-01-23 20:05:45 +08:00
redist
resources imp. : when click article collapse banner,single click to selection should supress 2022-01-20 20:43:42 +08:00
winlibs winlib : add msys-2.0.dll msys-iconv-2.dll those dlls was referenced by avcodec-gd-59.dll 2022-01-22 19:51:36 +08:00
.gitignore
.travis.yml
aard.cc improve:handle invalid tag soup improvement, related to old issue #271 2022-01-11 20:33:46 +08:00
aard.hh
about.cc
about.hh
about.ui
article-style-print.css
article-style-st-babylon.css
article-style-st-lingoes-blue.css imp. : when click article collapse banner,single click to selection should supress 2022-01-20 20:43:42 +08:00
article-style-st-lingoes.css
article-style-st-lingvo.css
article-style-st-modern.css imp. : add gddicticon img style ,restrict images can not be too large. 2022-01-27 20:23:42 +08:00
article-style.css fix: remove width 100% style 2022-01-21 09:35:45 +08:00
article_maker.cc imp. : rename js/css file from gd_ to gd-* 2022-01-19 20:26:45 +08:00
article_maker.hh improvement:stylesheet css file.use external link instead of embed. 2022-01-12 21:48:03 +08:00
article_netmgr.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
article_netmgr.hh refactor code,use default parameter 2022-01-10 20:17:22 +08:00
articleview.cc Merge branch 'feature/highdpi-icon' into branch-qt-5.15 2022-01-27 08:26:29 +08:00
articleview.hh imp. : zoom factor ,set zoom also in loading process 2022-01-20 20:34:14 +08:00
articleview.ui high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
articlewebview.cc fix:single click on link,the emulated db click will still work on new page 2022-01-15 11:18:54 +08:00
articlewebview.hh fix:single click on link,the emulated db click will still work on new page 2022-01-15 11:18:54 +08:00
atomic_rename.cc
atomic_rename.hh
audiolink.cc
audiolink.hh
audioplayerfactory.cc
audioplayerfactory.hh
audioplayerinterface.hh
authentication.ui
belarusiantranslit.cc clean code:change file encoding from utf-8 bom to utf-8 2022-01-18 20:47:45 +08:00
belarusiantranslit.hh
bgl.cc high api: draw image with antialiasing 2022-01-23 13:25:15 +08:00
bgl.hh
bgl_babylon.cc
bgl_babylon.hh
broken_xrecord.cc
broken_xrecord.hh
btreeidx.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
btreeidx.hh
chinese.cc
chinese.hh
chineseconversion.cc
chineseconversion.hh
chineseconversion.ui
chunkedstorage.cc
chunkedstorage.hh
config.cc imp. remove mouseover32 preferences.ui configuration . 2022-02-03 13:34:52 +08:00
config.hh imp. remove mouseover32 preferences.ui configuration . 2022-02-03 13:34:52 +08:00
configure
country.cc
country.hh
cpp_features.hh
CREDITS.txt
decompress.cc
decompress.hh
delegate.cc
delegate.hh
dictdfiles.cc
dictdfiles.hh
dictgroupwidget.ui high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
dictheadwords.cc
dictheadwords.hh
dictheadwords.ui
dictinfo.cc
dictinfo.hh
dictinfo.ui
dictionary.cc high api: draw image with antialiasing 2022-01-23 13:25:15 +08:00
dictionary.hh
dictionarybar.cc Merge branch 'feature/highdpi-icon' into branch-qt-5.15 2022-01-27 08:26:29 +08:00
dictionarybar.hh
dictserver.cc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
dictserver.hh
dictspanewidget.hh
dictzip.c
dictzip.h
dsl.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
dsl.hh
dsl_details.cc
dsl_details.hh
editdictionaries.cc high dpi:change icon 2022-01-25 22:54:17 +08:00
editdictionaries.hh
editdictionaries.ui
epwing.cc
epwing.hh
epwing_book.cc
epwing_book.hh
epwing_charmap.cc
epwing_charmap.hh
ex.hh
externalaudioplayer.cc
externalaudioplayer.hh
externalviewer.cc
externalviewer.hh
extlineedit.cc high dpi: translateLine icon fixed. 2022-01-25 23:38:14 +08:00
extlineedit.hh
favoritespanewidget.cc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
favoritespanewidget.hh
ffmpegaudio.cc
ffmpegaudio.hh
ffmpegaudioplayer.hh
file.cc Update file.cc 2022-01-15 14:40:21 +08:00
file.hh
filetype.cc
filetype.hh
fixx11h.h
flags.qrc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
folding.cc
folding.hh
forvo.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
forvo.hh
fsencoding.cc
fsencoding.hh
ftshelpers.cc
ftshelpers.hh
fulltextsearch.cc
fulltextsearch.hh
fulltextsearch.ui
gdappstyle.cc
gdappstyle.hh
gddebug.cc
gddebug.hh
german.cc
german.hh
gestures.cc
gestures.hh
globalbroadcaster.cpp
globalbroadcaster.h
gls.cc
gls.hh
GoldenDict.exe.manifest
goldendict.pro imp. remove mouseover32 2022-01-29 14:54:33 +08:00
goldendict.rc
greektranslit.cc clean code:change file encoding from utf-8 bom to utf-8 2022-01-18 20:47:45 +08:00
greektranslit.hh
groupcombobox.cc
groupcombobox.hh
groups.cc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
groups.hh
groups.ui
groups_widgets.cc high dpi:replace gnome image icon 2022-01-28 08:30:01 +08:00
groups_widgets.hh
guids.c
helpwindow.cc high dpi:change icon 2022-01-25 22:54:17 +08:00
helpwindow.hh
history.cc
history.hh
historypanewidget.cc
historypanewidget.hh
hotkeyedit.cc
hotkeyedit.hh
hotkeys.c
hotkeys.h
hotkeys.pro
hotkeywrapper.cc
hotkeywrapper.hh
htmlescape.cc
htmlescape.hh
hunspell.cc clean code:remove qmake CONFIG 'old_hunspell' that means libhunspell > 1.5 from now on. 2022-01-21 16:16:22 +08:00
hunspell.hh
iconv.cc
iconv.hh
inc_case_folding.hh
inc_diacritic_folding.hh
indexedzip.cc
indexedzip.hh
initializing.cc
initializing.hh
initializing.ui
instances.cc
instances.hh
keyboardstate.cc
keyboardstate.hh
langcoder.cc
langcoder.hh
language.cc
language.hh
LICENSE.txt
lionsupport.h
lionsupport.mm Mac-specific: Fix for retina display 2014-06-17 17:47:04 +04:00
loaddictionaries.cc
loaddictionaries.hh
lsa.cc high dpi : image replacement and playsound icon changed to playsound_full.png 2022-01-23 13:25:14 +08:00
lsa.hh
machotkeywrapper.mm
macmouseover.hh
macmouseover.mm
main.cc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
mainstatusbar.cc
mainstatusbar.hh
maintabwidget.cc
maintabwidget.hh
mainwindow.cc imp. remove mouseover32 2022-01-29 14:54:33 +08:00
mainwindow.hh improvement: refactor code,move ignoreKeyEvent method to utils. 2022-01-14 22:58:19 +08:00
mainwindow.ui high dpi:replace gnome image icon 2022-01-28 08:30:01 +08:00
mdictparser.cc fix: mdd resource files spread across multi blocks . 2022-01-10 23:42:27 +08:00
mdictparser.hh
mdx.cc fix: illege mdx dictionary ,css file embed font with a lead dot,such as "./font.woff" 2022-01-19 21:01:35 +08:00
mdx.hh
mediawiki.cc improvement:mediawiki request will hang forever,if can not access . 2022-01-15 12:53:19 +08:00
mediawiki.hh
mouseover.cc imp. remove mouseover32 2022-01-29 14:54:33 +08:00
mouseover.hh
mruqmenu.cc
mruqmenu.hh
multimediaaudioplayer.cc
multimediaaudioplayer.hh
mutex.cc
mutex.hh
myInfo.plist
options.ui
orderandprops.cc
orderandprops.hh
orderandprops.ui
parsecmdline.cc
parsecmdline.hh
preferences.cc imp. remove mouseover32 preferences.ui configuration . 2022-02-03 13:34:52 +08:00
preferences.hh
preferences.ui imp. remove mouseover32 preferences.ui configuration . 2022-02-03 13:34:52 +08:00
processwrapper.cc
processwrapper.hh
programs.cc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
programs.hh
qt-style-macos.css
qt-style-st-babylon.css
qt-style-st-lingoes-blue.css
qt-style-st-lingvo.css
qt-style-st-modern.css
qt-style.css high dpi:replace gnome image icon 2022-01-28 08:30:01 +08:00
README.md update readme.md link 2022-01-21 16:57:09 +08:00
resources.qrc high dpi:remove icon 2022-01-28 10:58:32 +08:00
resourceschemehandler.cpp refactor code,use default parameter 2022-01-10 20:17:22 +08:00
resourceschemehandler.h
ripemd.cc
ripemd.hh
romaji.cc clean code:change file encoding from utf-8 bom to utf-8 2022-01-18 20:47:45 +08:00
romaji.hh
russiantranslit.cc
russiantranslit.hh
sapi.hh
scanflag.cc
scanflag.hh
scanflag.ui
scanpopup.cc imp. remove mouseover32 2022-01-29 14:54:33 +08:00
scanpopup.hh
scanpopup.ui high dpi:change icon 2022-01-25 22:54:17 +08:00
sdict.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
sdict.hh
searchpanewidget.hh
slob.cc improve:handle invalid tag soup improvement, related to old issue #271 2022-01-11 20:33:46 +08:00
slob.hh
sounddir.cc high dpi : image replacement and playsound icon changed to playsound_full.png 2022-01-23 13:25:14 +08:00
sounddir.hh
sources.cc high dpi:change icon 2022-01-25 22:54:17 +08:00
sources.hh
sources.ui high dpi:change icon 2022-01-25 22:54:17 +08:00
speechclient.hh
speechclient_mac.mm
speechclient_win.cc
speechhlp.cc
speechhlp.hh
sphelper.hh
splitfile.cc
splitfile.hh
sptr.hh improve:refactor code ,reimplement sptr class. 2022-01-09 16:18:55 +08:00
stardict.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
stardict.hh
stylescombobox.cc
stylescombobox.hh
termination.cc
termination.hh
texttospeechsource.cc
texttospeechsource.hh
texttospeechsource.ui
tiff.cc
tiff.hh
translatebox.cc high dpi: translateLine icon fixed. 2022-01-25 23:38:14 +08:00
translatebox.hh
transliteration.cc
transliteration.hh
treeview.cc
treeview.hh
ufile.cc
ufile.hh
uiauto.hh
utf8.cc
utf8.hh
utils.hh improvement: make tab title does not show url . 2022-01-18 22:26:52 +08:00
voiceengines.cc high dpi : image replacement and playsound icon changed to playsound_full.png 2022-01-23 13:25:14 +08:00
voiceengines.hh
webmultimediadownload.cc
webmultimediadownload.hh
website.cc high dpi:change icon 2022-01-25 22:54:17 +08:00
website.hh
weburlrequestinterceptor.cpp fix:single click on link,the emulated db click will still work on new page 2022-01-15 11:18:54 +08:00
weburlrequestinterceptor.h
wildcard.cc
wildcard.hh
wordbyauto.cc
wordbyauto.hh
wordfinder.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
wordfinder.hh
wordlist.cc high dpi:remove coresponding png files with same name with svg 2022-01-27 08:23:57 +08:00
wordlist.hh
wstring.cc
wstring.hh
wstring_qt.cc
wstring_qt.hh
x64.cc
x64.hh
xdxf.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
xdxf.hh
xdxf2html.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
xdxf2html.hh
zim.cc improve:handle invalid tag soup improvement, related to old issue #271 2022-01-11 20:33:46 +08:00
zim.hh
zipfile.cc
zipfile.hh
zipsounds.cc high dpi : image replacement and playsound icon changed to playsound_full.png 2022-01-23 13:25:14 +08:00
zipsounds.hh

Introduction

GoldenDict is a feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd/AARD/MDict/SDict) and online dictionaries, featuring perfect article rendering with the complete markup, illustrations and other content retained, and allowing you to type in words without any accents or correct case.

Requirements

This code has been run and tested on Windows XP/Vista/7, Ubuntu Linux, Mac OS X.

External Deps

  • Make, GCC, Git
  • Qt framework. Minimum required version is 5.15
  • Qt Creator IDE is recommended for development
  • Various libraries on Linux (png, zlib, etc)
  • On Mac and Windows all the libraries are already included in the repository

Installing External Deps on Ubuntu Linux for Qt5

sudo apt-get install git pkg-config build-essential qt5-qmake \
     libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \
     qtdeclarative5-dev libxtst-dev liblzo2-dev libbz2-dev \
     libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev \
     libqt5webkit5-dev libqt5svg5-dev libqt5x11extras5-dev qttools5-dev \
     qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins

How to build

First, clone this repository, e.g.:

git clone git://github.com/goldendict/goldendict.git

And then invoke qmake-qt5 and make:

cd goldendict && qmake-qt5 && make

make sure that qmake is from Qt 5 installation. If not, you can try finding it at a path like /usr/lib/x86_64-linux-gnu/qt5/bin/qmake. Alternatively, you might want to load goldendict.pro file from within Qt Creator, especially on Windows.

Note: libhunspell version > 1.5.

Building with Chinese conversion support

To add Chinese conversion support you need at first install libopencc-dev package:

sudo apt-get install libopencc-dev

Then pass "CONFIG+=chinese_conversion_support" to qmake

qmake "CONFIG+=chinese_conversion_support"

Building with Zim dictionaries support

To add Zim and Slob formats support you need at first install lzma-dev and zstd-dev packages:

sudo apt-get install liblzma-dev libzstd-dev

Then pass "CONFIG+=zim_support" to qmake

qmake "CONFIG+=zim_support"

Building without extra tiff handler

If you have problem building with libtiff5-dev package, you can pass "CONFIG+=no_extra_tiff_handler" to qmake in order to disable extra tiff support (without such extra support some b/w tiff images will not be displayed):

qmake "CONFIG+=no_extra_tiff_handler"

Building without Epwing format support

If you have problem building with libeb-dev package, you can pass "CONFIG+=no_epwing_support" to qmake in order to disable Epwing format support

qmake "CONFIG+=no_epwing_support"

Building without internal audio players

If you have problem building with FFmpeg/libao (for example, Ubuntu older than 12.04), you can pass "CONFIG+=no_ffmpeg_player" to qmake in order to disable FFmpeg+libao internal audio player back end:

qmake "CONFIG+=no_ffmpeg_player"

If you have problem building with Qt5 Multimedia or experience GStreamer run-time errors (for example, Ubuntu 14.04), you can pass "CONFIG+=no_qtmultimedia_player" to qmake in order to disable Qt Multimedia internal audio player back end:

qmake "CONFIG+=no_qtmultimedia_player"

NB: All additional settings for qmake that you need must be combined in one qmake launch, for example:

qmake "CONFIG+=zim_support" "CONFIG+=no_extra_tiff_handler" "CONFIG+=no_ffmpeg_player"

Then, invoke make clean before make because the setting change:

make clean && make

Building under Windows with MS Visual Studio

To build GoldenDict with Visual Studio take one of next library packs and unpack it to "winlibs/lib/msvc" folder in GoldenDict sources folder.
GoldenDict_libs_VS2013_x86_v4.7z - for MS Visual Studio 2013, 32 bit
GoldenDict_libs_VS2013_x64_v4.7z - for MS Visual Studio 2013, 64 bit
GoldenDict_libs_VS2015_x86_v4.7z - for MS Visual Studio 2015, 32 bit
GoldenDict_libs_VS2015_x64_v4.7z - for MS Visual Studio 2015, 64 bit

To build with Visual Studio. check this how to build with visual studio

Installation

Installation is an optional step since the built binary can be used as-is without installation. But you can properly install via:

make install

NB: Don't do that on Windows!

You can uninstall via:

make uninstall

License

This project is licensed under the GNU GPLv3+ license, a copy of which can be found in the LICENSE.txt file.

Support

Users looking for support should file an issue in the official GoldenDict issue tracker, or even better: submit a pull request if you have a fix available. General questions should be asked on the official GoldenDict forum.