From RedwoodCenter
Revision as of 17:25, 30 September 2007 by Kilian (talk | contribs) (→‎sip)
Jump to navigationJump to search

Qt 4

get qt4-mac here:

 tar xvzf qt-mac-opensource-src-4.3.1.tar.gz
 cd qt-mac-opensource-src-4.3.1
 ./configure -prefix /usr/local/qt-4.3.1 -universal -no-sql-mysql -no-qdbus

QScintilla 2

get QScintilla 2 here:

 tar xvzf QScintilla-1.73-gpl-2.1.tar.gz
 cd QScintilla-1.73-gpl-2.1/Qt4
 sudo make
 sudo make install

don't delete the source directory yet. you will need it to install th python bindings for QScintilla (see below).


get sip here:

 tar xvzf sip-4.7.1.tar.gz
 cd sip-4.7.1
 python -n
 sudo make install

PyQt 4

get PyQt 4 here:

 tar xvzf PyQt-mac-gpl-4.3.tar.gz
 cd PyQt-mac-gpl-4.3.tar.gz
 setenv QTDIR /usr/local/qt-4.3.1
 python -a -q /usr/local/qt-4.3.1/bin/qmake 
 sudo make install

QScintilla 2 python bindings

you hav to cd into the Python subdirectory of the QScintilla 2 source directory (see above):

 cd QScintilla-1.73-gpl-2.1/Python

now you can build the python bindings:

Eric 4

get eric 4 here:

 tar xvzf eric4-4.0.1.tar.gz
 cd eric4-4.0.1
 sudo su
 export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Qt-mac-free-3.3.8/lib

start eric: