Step 1: Install QT
Download and install from here: http://qt-project.org/downloads
(Locate where the "qmake" is. For example, "/Applications/Qt5.1.1/5.1.1/clang_64/bin/qmake" when I choose to install qt at "/Applicaitons/Qt5.1.1")
Step 2: Install SIP
Download the package from here: http://www.riverbankcomputing.co.uk/software/pyqt/
Unzip it and "cd" into the resulted folder.
python configure.py
make
sudo make install
(Review the output messages and locate where sip is installed. For example, "/System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip".)
Step 3: Install PyQT
Download the package from here: http://www.riverbankcomputing.co.uk/software/pyqt/
Unzip it and "cd" into the resulted folder.
python configure.py --qmake where_qmake_is --sip where_sip_is
(ex. python configure.py --qmake /Applications/Qt5.1.1/5.1.1/clang_64/bin/qmake --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip)
make
sudo make install
(then you are done~)
Comments