1、install siptarxvfsip-4.14.tar.gz cdsip-4.14/pythonconfigure. pymakemakeinstall2. Install qmake and qt4sudoapt-getinstalllibqt4-devlibqt4-debuglibqt4-guilibqt4-sqlqt4-dev-toolsqt4-docqt4-desig
1. Install sip
Tar xvf sip-4.14.tar.gz
Cd sip-4.14/
Python configure. py
Make
Make install
2. Install qmake and qt4
Sudo apt-get install libqt4-devlibqt4-debug libqt4-gui libqt4-sql qt4-dev-tools qt4-doc
3. Install PYQT4
Tar xf PyQt-x11-gpl-4.9.5.tar.gz
Cd PyQt-x11-gpl-4.9.5/
Python configure. py
Make
Make install
4. Install QScintilla
Tar xvf QScintilla-gpl-snapshot-2.6.3-80df6cc89bae.tar.gz
Cd QScintilla-gpl-snapshot-2.6.3-80df6cc89bae/
Cd Qt4Qt5/
Qmake qscintilla. pro
Make
Sudo make install
Cd ..
Cd Python/
Sudo python configure. py
Make
Sudo make install
Cd ..
Cd designer-Qt4/
Qmake designer. pro
Make
Sudo make install
5. Install Eric4
Tar xvf eric4-4.5.7.tar.gz
Tar xvf eric4-i18n-zh_CN.GB2312-4.5.7.tar.gz
Cd eric4-4.5.7/
Python install. py
6. Start Eric4
/Usr/local/bin/eric4
Eric4 configuration reference:
When you open Eric4 for the first time, a configuration window will appear first. Here you can configure it simply (or later in Settings-Preferences ):
Under the Eidtor,
Click APIs, check "Compile APIs automatically", select "Python" as Language, click Add from installed APIs, and select eric4.api or other APIs you need. Click "Compile APIs" below, which takes some time. Click Apply.
Click Autocompletion, and check all three of them.
Click QScintilla and select "from Document and API files ".
Apply and then OK.