Update README.md

This commit is contained in:
xiaoyifang 2022-03-15 20:45:20 +08:00 committed by GitHub
parent 21fe1b9ab3
commit 2d1c5ec376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,15 +34,24 @@ First, clone this repository, e.g.:
git clone git://github.com/goldendict/goldendict.git git clone git://github.com/goldendict/goldendict.git
### Linux
And then invoke `qmake-qt5` and `make`: And then invoke `qmake-qt5` and `make`:
cd goldendict && qmake-qt5 && make cd goldendict && qmake-qt5 && make
make sure that `qmake` is from Qt 5 installation. If not, you can try ### macOS
finding it at a path like `/usr/lib/x86_64-linux-gnu/qt5/bin/qmake`. ```
brew install qt
brew install opencc
qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support
make
make install
```
### Windows
Alternatively, you might want to load `goldendict.pro` file from within Qt Creator, especially on Windows. 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 ### Building with Chinese conversion support