Created
December 15, 2020 17:18
-
-
Save ilius/0fef65b0512e1f8fa7c2d258be98c515 to your computer and use it in GitHub Desktop.
Build GoldenDict with Qt on Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Debian: | |
echo 'deb http://ppa.launchpad.net/rock-core/qt4/ubuntu focal main | |
deb-src http://ppa.launchpad.net/rock-core/qt4/ubuntu focal main' > /etc/apt/sources.list.d/qt4.list | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 78CB407D3E3D8F94 | |
sudo apt-get update | |
sudo apt-get install --yes libqt4-dev qt4-qtconfig qt4-qmake libqt4-dev libqtwebkit-dev git pkg-config build-essential libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev libxtst-dev liblzo2-dev libbz2-dev libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev | |
if [ ! -d ~/goldendict ] ; then | |
git clone https://github.com/goldendict/goldendict ~/goldendict | |
fi | |
cd ~/goldendict | |
/usr/lib/x86_64-linux-gnu/qt4/bin/qmake | |
make |
Thanks for the response .I found an alternative solution with qt6.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This worked for me 3 years ago.
But I don't think you can use qt4 easily in any recent Linux distro releases.