Skip to content

A feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd) 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.

License

Notifications You must be signed in to change notification settings

ngn999/goldendict

This branch is 694 commits ahead of, 148 commits behind goldendict/goldendict:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1c3621e · Apr 21, 2022
Apr 21, 2022
Feb 26, 2022
Feb 8, 2022
Mar 27, 2022
Nov 19, 2020
Apr 17, 2022
Apr 14, 2022
Apr 20, 2022
Apr 21, 2022
Feb 11, 2022
Feb 27, 2021
Apr 21, 2022
Apr 8, 2022
Feb 17, 2022
Mar 24, 2022
Feb 14, 2022
Apr 10, 2022
Jul 18, 2020
Apr 3, 2022
Feb 23, 2020
Feb 20, 2012
Apr 21, 2022
Apr 10, 2022
Jan 9, 2022
Dec 29, 2021
Aug 7, 2013
Jul 19, 2013
May 15, 2010
Sep 16, 2017
Feb 17, 2022
Jul 26, 2013
Nov 9, 2013
Jan 27, 2022
Mar 24, 2022
Mar 26, 2022
Mar 26, 2022
Apr 21, 2022
Apr 21, 2022
Apr 19, 2022
Jan 10, 2022
Mar 31, 2022
Mar 30, 2022
Jan 24, 2022
Mar 18, 2022
Mar 18, 2022
Feb 20, 2012
Feb 20, 2012
May 31, 2013
Feb 20, 2012
Apr 16, 2018
Mar 30, 2018
Mar 24, 2018
Apr 3, 2014
Feb 3, 2022
Jan 9, 2022
Apr 10, 2022
Jan 9, 2022
Feb 26, 2022
Feb 26, 2022
Mar 11, 2022
Feb 20, 2012
Apr 18, 2022
Feb 26, 2022
Feb 11, 2022
Jan 9, 2022
Oct 26, 2015
Oct 26, 2015
May 3, 2017
Apr 8, 2016
Feb 26, 2022
Feb 2, 2022
Apr 19, 2022
Apr 19, 2022
Feb 20, 2012
Jun 12, 2010
May 27, 2020
May 27, 2020
Mar 11, 2022
Jul 6, 2013
Mar 11, 2022
Jan 9, 2022
Jan 24, 2022
Apr 17, 2022
Apr 17, 2022
Apr 17, 2022
Nov 14, 2014
Feb 28, 2014
Feb 28, 2014
Apr 17, 2022
Mar 14, 2022
Feb 3, 2022
Mar 1, 2014
Mar 11, 2022
Jan 9, 2022
Jan 17, 2013
Feb 17, 2022
Apr 24, 2014
Apr 10, 2022
Jan 9, 2022
Mar 11, 2022
Mar 11, 2022
Mar 22, 2022
Mar 13, 2022
Jun 24, 2014
Feb 3, 2022
Jan 9, 2022
Mar 11, 2022
Mar 11, 2022
Mar 11, 2022
Mar 11, 2022
Feb 20, 2012
Mar 24, 2018
Mar 24, 2018
Jan 9, 2022
Feb 26, 2022
Feb 3, 2022
Jul 18, 2013
Mar 20, 2022
Sep 24, 2018
Feb 20, 2022
Mar 30, 2018
Apr 16, 2018
Feb 3, 2022
Feb 26, 2022
Jun 12, 2021
Sep 26, 2019
Jun 9, 2011
Jan 24, 2022
Mar 2, 2022
Jul 7, 2018
Apr 5, 2022
Jan 9, 2022
Apr 7, 2022
Feb 20, 2012
Mar 11, 2022
Mar 11, 2022
Jan 8, 2022
Mar 11, 2022
Apr 10, 2018
Dec 16, 2021
Dec 16, 2021
Apr 3, 2022
May 22, 2018
Jan 9, 2022
Jan 9, 2022
Dec 13, 2021
Dec 13, 2021
Jan 8, 2022
Jan 8, 2022
Apr 5, 2022
Jan 9, 2022
Apr 21, 2022
Feb 3, 2022
Jan 9, 2022
Jul 9, 2019
Jul 9, 2019
Mar 13, 2022
Mar 3, 2014
Jan 4, 2013
Mar 14, 2022
Apr 10, 2018
Apr 24, 2013
Apr 17, 2022
Apr 17, 2022
Feb 18, 2022
Jun 24, 2014
May 12, 2017
Jul 7, 2018
Feb 1, 2021
Jul 6, 2013
Jan 8, 2022
Oct 13, 2015
Mar 11, 2022
Mar 11, 2022
Dec 13, 2021
Feb 26, 2015
Mar 11, 2022
Jan 9, 2022
Feb 26, 2022
Feb 26, 2022
May 15, 2010
May 15, 2010
Mar 11, 2022
Apr 24, 2017
Jan 8, 2022
Dec 13, 2021
May 22, 2013
Mar 14, 2022
Mar 13, 2022
Mar 11, 2022
Feb 20, 2012
Mar 11, 2022
Dec 7, 2018
Mar 3, 2022
Sep 24, 2012
Jun 17, 2014
Jun 17, 2014
Apr 13, 2022
Jul 7, 2018
Feb 3, 2022
Jan 9, 2022
Oct 20, 2021
Dec 26, 2013
Jun 23, 2016
Apr 17, 2022
Jan 8, 2022
Nov 1, 2015
Jan 8, 2022
Dec 27, 2012
Apr 19, 2022
Apr 19, 2022
Jan 29, 2022
Apr 16, 2022
Oct 11, 2015
Apr 18, 2022
Apr 13, 2022
Apr 5, 2022
Jan 9, 2022
Oct 31, 2012
Feb 16, 2012
Mar 11, 2022
Mar 11, 2022
Feb 20, 2012
Mar 30, 2022
Aug 26, 2013
May 15, 2010
Mar 13, 2022
Mar 13, 2022
Dec 13, 2014
May 30, 2011
May 30, 2011
Mar 31, 2022
Nov 19, 2020
Mar 27, 2022
Feb 16, 2022
May 15, 2010
Feb 3, 2022
Jan 9, 2022
Apr 5, 2013
May 12, 2017
May 12, 2017
May 12, 2017
May 12, 2017
Jan 28, 2022
Mar 24, 2022
Apr 14, 2022
Jan 9, 2022
Oct 15, 2020
Feb 26, 2022
Feb 3, 2022
Jan 9, 2022
Jan 9, 2022
Jan 9, 2022
Apr 24, 2013
Mar 11, 2022
Jun 5, 2017
Jun 5, 2017
Apr 1, 2022
Mar 11, 2022
Jan 25, 2022
Mar 11, 2022
Jan 9, 2022
Feb 20, 2012
Apr 10, 2022
Jan 9, 2022
Feb 3, 2022
Jan 9, 2022
Feb 3, 2022
Oct 26, 2015
Mar 27, 2022
Apr 26, 2013
May 7, 2013
Apr 26, 2013
Jan 18, 2014
Apr 26, 2013
Jul 7, 2018
Mar 11, 2022
Apr 24, 2017
Jan 9, 2022
Apr 10, 2022
Jan 9, 2022
Dec 10, 2012
Dec 10, 2012
Mar 13, 2022
May 22, 2018
May 30, 2013
Apr 26, 2013
Mar 27, 2022
Apr 17, 2022
Apr 5, 2022
Mar 11, 2022
Sep 8, 2017
Jan 9, 2022
Jan 9, 2022
Dec 13, 2021
Sep 24, 2018
Aug 7, 2013
Aug 7, 2013
Oct 31, 2012
Jan 9, 2022
Feb 26, 2022
Apr 16, 2022
Feb 3, 2022
Jan 9, 2022
Mar 12, 2018
Mar 13, 2017
Apr 17, 2022
Jan 9, 2022
Apr 20, 2022
Dec 13, 2021
Mar 25, 2019
Feb 22, 2018
May 10, 2014
Jul 9, 2011
Jan 15, 2022
Jul 7, 2018
Jan 27, 2022
Apr 25, 2014
Feb 17, 2022
Apr 7, 2022
Feb 26, 2022
Apr 10, 2022
Jan 9, 2022
Jan 15, 2022
Aug 1, 2015
Apr 10, 2022
Jan 9, 2022
Jan 8, 2022
Apr 24, 2017
Feb 3, 2022
Jan 9, 2022

Repository files navigation

Codacy Badge Windows Ubuntu macos

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 10/11, 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 \
     libqt5svg5-dev libqt5x11extras5-dev qttools5-dev \
     qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins

How to build

First, clone this repository, e.g.:

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

Linux

And then invoke qmake-qt5 and make:

cd goldendict && qmake-qt5 && make

macOS

brew install qt # or use official offline installer
qmake CONFIG+=release   CONFIG+=zim_support   CONFIG+=chinese_conversion_support QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
make 
make install

Windows

Alternatively, you might want to load goldendict.pro file from within Qt Creator, especially on Windows.

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

the source code has offered precompile x64 windows libs on winlibs/lib/msvc. you can build your own version either.

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.

About

A feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd) 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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 54.9%
  • C++ 42.6%
  • CSS 1.2%
  • NSIS 0.4%
  • Objective-C++ 0.4%
  • QMake 0.2%
  • Other 0.3%