mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Merge pull request #794 from sorawee/patch-1
Add instructions to install it for Qt 5
This commit is contained in:
commit
3d1c40f154
13
README.md
13
README.md
|
@ -22,6 +22,15 @@ This code has been run and tested on Windows XP/Vista/7, Ubuntu Linux, Mac OS X.
|
|||
libqt4-dev libqtwebkit-dev libxtst-dev liblzo2-dev libbz2-dev \
|
||||
libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev
|
||||
|
||||
#### 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 libqtwebkit-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
|
||||
|
||||
## How to build
|
||||
|
||||
First, clone this repository, e.g.:
|
||||
|
@ -32,7 +41,9 @@ And then invoke `qmake-qt4` and `make`:
|
|||
|
||||
cd goldendict && qmake-qt4 && make
|
||||
|
||||
In case when qmake-qt4 does not exist, try using `qmake` but make sure it is indeed from the Qt 4 installation.
|
||||
In case when `qmake-qt4` does not exist, try using `qmake` but make sure it is indeed from the Qt 4 installation.
|
||||
On the other hand, if you want to use `qt5`, 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.
|
||||
|
||||
### Building with Chinese conversion support
|
||||
|
|
Loading…
Reference in a new issue