Development environment building document

Issue #1 new
congzheng NA
created an issue
  1. Install Qt.

(1)Download the QtSDK and install it(use root permission) (2)Configure the environment variable.

Add these to the end of the /etc/profile:

QTDIR=/opt/QtSDK/Desktop/Qt/473/gcc PATH=$QTDIR/bin:$PATH LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH export QTDIR PATH LD_LIBRARY_PATH

Then save and exit.

Execute the “source /etc/profile” , and “sudo updatedb” at last.

If you can execute the “qmake –v” and can look at the version information, the Qt is installed successfully.

  1. Install SIP. http://www.riverbankcomputing.co.uk/software/sip/download

(1)Firstly, you should install the python-dev, or there’are errors when executing “make”.

(2)python configure.py

(3)make

(4)make install

  1. Install PyQt4 http://www.riverbankcomputing.co.uk/software/pyqt/download

(1)tar xvfz PyQt-x11-gpl-4.8.4.tar.gz

(2)python configure.py -g

(3)make

(4)make install

  1. Install QScintilla http://www.riverbankcomputing.co.uk/software/qscintilla/download (QScintilla-gpl-2.5.1.tar.gz)

(1)cd Qt4

(2)qmake qscintilla.pro

(3)make

(4)make install

(5)cd Python

(6)python configure.py

(7)make

(8)make install

(9)cd designer-Qt4

(10)qmake designer.pro

(11)make

(12)make install

  1. Install Eric4 http://eric-ide.python-projects.org

python intall.py

  1. Install qt4-designer

sudo apt-get install qt4-designer

Comments (0)

  1. Log in to comment