Step summary:
1. Install Qt4
2. Build and install sip
3. Build and install QScintilla2
4. Build and install PyQt4
5. Build and install QScintilla2 Python bindings
6. Install eric4 #option, i use the pycharm
0. QT http://qt-project.org/downloads
qt-opensource-mac-4.8.6-1.dmg
• Qt Designer, Qt Linguist: /Developer/Applications/Qt
• Qt Documentation: /Developer/Documentation/Qt
• Qt Examples: /Developer/Examples/Qt
• Qt Plugins: /Developer/Applications/Qt/Plugins
• Qt Frameworks: /Library/Frameworks
• Qt Libraries: /usr/lib
• qmake, moc, uic, etc.: /Developer/Tools/Qt (symlink to /usr/bin)
• Uninstall script: /Developer/Tools/uninstall-qt.py
1. sip sip-4.16.4.tar.gz http://www.riverbankcomputing.com/software/sip/download
python configure.py -d /Library/Python/2.7/site-packages # --arch=x86_64
make
sudo make install
2. QScintilla2 QScintilla-gpl-2.8.4.tar.gz http://www.riverbankcomputing.com/software/qscintilla/download
cd QScintilla*;cd Qt4Qt5
qmake qscintilla.pro -spec macx-g++
make
sudo make install
3. PyQt4 PyQt-mac-gpl-4.11.3.tar.gz http://sourceforge.net/projects/pyqt/files/PyQt4/
python configure-ng.py -a -d /Library/Python/2.7/site-packages/ --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
make
sudo make install
#python configure-ng.py -q /Users/obaby/Qt502/5.0.2/clang_64/bin/qmake -d /Library/Python/2.7/site-packages/ --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
#python configure.py -q /usr/bin/qmake-4.8 -d /Library/Python/2.7/site-packages/ --sip /Library/Frameworks/Python.framework/Versions/2.7/bin/sip
4. QScintilla2 Python bindings
cd ../Python
python configure.py --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
make
sudo make install
#/System/Library/Frameworks/Python.framework/Versions/2.7/share/sip/PyQt4/Qsci/
sudo cp Qsci.so /Library/Python/2.7/site-packages/PyQt4/
#sudo cp sip/* /Library/Python/2.7/site-packages/PyQt4/
cd ../designer-Qt4Qt5
qmake designer.pro -spec macx-g++
make
sudo make install
cd ../example-Qt4Qt5
qmake application.pro -spec macx-g++
make
sudo make install
5. Install eric4 eric4-4.5.25.tar.gz
python install.py #sudo?
python install-i18n.py #sudo?
-EOF-
1. Install Qt4
2. Build and install sip
3. Build and install QScintilla2
4. Build and install PyQt4
5. Build and install QScintilla2 Python bindings
6. Install eric4 #option, i use the pycharm
0. QT http://qt-project.org/downloads
qt-opensource-mac-4.8.6-1.dmg
• Qt Designer, Qt Linguist: /Developer/Applications/Qt
• Qt Documentation: /Developer/Documentation/Qt
• Qt Examples: /Developer/Examples/Qt
• Qt Plugins: /Developer/Applications/Qt/Plugins
• Qt Frameworks: /Library/Frameworks
• Qt Libraries: /usr/lib
• qmake, moc, uic, etc.: /Developer/Tools/Qt (symlink to /usr/bin)
• Uninstall script: /Developer/Tools/uninstall-qt.py
1. sip sip-4.16.4.tar.gz http://www.riverbankcomputing.com/software/sip/download
python configure.py -d /Library/Python/2.7/site-packages # --arch=x86_64
make
sudo make install
2. QScintilla2 QScintilla-gpl-2.8.4.tar.gz http://www.riverbankcomputing.com/software/qscintilla/download
cd QScintilla*;cd Qt4Qt5
qmake qscintilla.pro -spec macx-g++
make
sudo make install
3. PyQt4 PyQt-mac-gpl-4.11.3.tar.gz http://sourceforge.net/projects/pyqt/files/PyQt4/
python configure-ng.py -a -d /Library/Python/2.7/site-packages/ --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
make
sudo make install
#python configure-ng.py -q /Users/obaby/Qt502/5.0.2/clang_64/bin/qmake -d /Library/Python/2.7/site-packages/ --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
#python configure.py -q /usr/bin/qmake-4.8 -d /Library/Python/2.7/site-packages/ --sip /Library/Frameworks/Python.framework/Versions/2.7/bin/sip
4. QScintilla2 Python bindings
cd ../Python
python configure.py --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip
make
sudo make install
#/System/Library/Frameworks/Python.framework/Versions/2.7/share/sip/PyQt4/Qsci/
sudo cp Qsci.so /Library/Python/2.7/site-packages/PyQt4/
#sudo cp sip/* /Library/Python/2.7/site-packages/PyQt4/
cd ../designer-Qt4Qt5
qmake designer.pro -spec macx-g++
make
sudo make install
cd ../example-Qt4Qt5
qmake application.pro -spec macx-g++
make
sudo make install
5. Install eric4 eric4-4.5.25.tar.gz
python install.py #sudo?
python install-i18n.py #sudo?
-EOF-