Commit graph

24 commits

Author SHA1 Message Date
Igor Kushnir c34597ca04 Remove an unused Qt5 dependency from README
libqtwebkit-dev contains the development files of Qt4 QtWebKit library.
Installing this package pulls many Qt4 dependencies. Neither this
package nor its dependencies are needed to build a Qt5 version of
goldendict. I have successfully built a Qt5 version of goldendict
on a fresh KDE neon system without installing this package.
Note that the development files of Qt5 QtWebKit library are inside the
libqt5webkit5-dev package, which is duly listed as a Qt5 goldendict
dependency.
2019-09-19 21:00:45 +03:00
Igor Kushnir 9aa3c44d4e Add QMediaPlayer internal player back end (Qt5 only)
* add config and GUI support for internal player back end switching;
* make FFmpeg player disabling option consistent with other similar
  qmake options by using CONFIG;
* add a new qmake option that disables Qt Multimedia player. This is
  useful for GNU/Linux distributions where Qt WebKit and Qt Multimedia
  packages depend on different GStreamer versions and don't work
  correctly when combined in one application.

The existing FFmpeg+libao internal player back end has a relatively
low-level implementation, which is difficult to understand and improve.
There are at least 3 open internal player issues:
  1) many GNU/Linux users have to edit their libao configuration file to
     make Goldendict's internal player work (issue #412);
  2) libao's pulseaudio plugin does not support 32-bit audio, which
     means that many MediaWiki pronunciations don't work with the most
     popular GNU/Linux audio driver (issue #949);
  3) Ffmpeg::DecoderContext uses deprecated FFmpeg APIs, which causes
     compiler warnings and means that this internal player back end
     may not compile with a future FFmpeg library version (issue #978).

The Qt Multimedia back end implementation uses the highest-level
Qt audio API and is very simple.
This new back end works flawlessly on my GNU/Linux machine.
I'm not making it the default back end because I don't know how well
it will work on other platforms with different configurations.
2018-03-30 17:10:33 +03:00
Abs62 5552c18a39 Remove mention of qt4x5 git branch from readme.md 2018-03-26 17:37:00 +03:00
Igor Kushnir e5045860ef Make adding new audio player implementations easy
* add a new interface class AudioPlayerInterface;
* inherit a new proxy class Ffmpeg::AudioPlayer from it;
* partially switch ArlticleView to using the interface;
* expose MainWindow's AudioPlayerInterface instance to all ArticleView
  instances;
* add a new AudioPlayerFactory class responsible for creating instances
  of concrete classes derived from AudioPlayerInterface depending on
  relevant Config::Preferences values;
* increase minimum supported Qt version from 4.5 to 4.6 in README
  in order to use QScopedPointer introduced in Qt 4.6.
2018-03-24 21:31:48 +02:00
Abs62 f2a30c29cc Win-specific: Update hunspell library to version 1.6.1 2017-07-05 18:18:32 +03:00
Abs62 bef2bf86c6 Update code for libhunspell 1.5+ 2017-07-05 17:58:43 +03:00
Abs62 a486c13aec Win-specific: Update libtiff to version 4.0.8 2017-07-03 18:35:56 +03:00
sorawee 6c799d0a34 Add instructions to install it for Qt 5 2016-12-19 03:22:59 -05:00
Abs62 d0cd6a50af Win-specific: Update links to library packs for MS Visual Studio in README.md 2016-04-15 22:10:23 +03:00
Abs62 032f5c8337 Win-specific: Tune code for compilation with MS Visual Studio 2016-04-09 00:21:55 +03:00
Zhe Wang a1986254d2 ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +08:00
babycaseny ce0e9f56b4 README.md: libeb-dev --> libeb16-dev
Otherwise, cannot compile in Ubuntu
2015-05-27 19:59:23 +08:00
Abs62 0912df7cb5 Add SLOB dictionaries support 2015-01-22 18:17:05 +03:00
Steve J dc8914e8a5 update note on required Qt version, is now 4.6 on Windows because of use of QWebElement class 2014-12-18 18:48:16 -08:00
Abs62 d9169bd45b Add support for Epwing dictionaries 2014-05-20 17:59:56 +04:00
Abs62 2837ee1d16 Linux-specific: Update readme.md 2014-05-05 18:01:50 +04:00
Tvangeste a1b257e20c Removed the duplicated qmake dependency in README 2013-08-16 19:17:08 +02:00
Tvangeste 234943de18 State the minimal required Qt version: 4.5 2013-07-18 16:09:13 +02:00
Tvangeste af82c1d0b6 README: Add missing dependencies
Git and libqtwebkit-dev are listed now explicitly.
2013-07-11 22:15:47 +02:00
Tvangeste e80d3aa1bb README: Use qmake-qt4 instead of qmake 2013-07-09 11:07:27 +02:00
Timon Wong cf71499242 Add "DISABLE_INTERNAL_PLAYER" to .pro as an option to disable internal audio player (issue #356) 2013-06-18 09:12:31 +08:00
Tvangeste 00e858aa44 Minor wording tweaks in README 2013-06-13 22:17:12 +03:00
Timon Wong c4752eb14c Add internal audio player(ffmpeg/libav + libao).
* phonon, bass, playsound are removed.
2013-05-05 18:22:12 +08:00
Tvangeste fa9c980fef Added proper README 2013-05-03 22:26:33 +02:00