Advertisement
Guest User

pyqt4 install

a guest
Jun 12th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. #installs sip, pyqt4 and scintall globally for python2.7 and python3.5
  2. # In the SIP folder *python configure.py --help* shows where pyqt4 will be installed.
  3. ###### ##################
  4. mkdir ~/installs/pyqt4
  5. cd ~/installs/pyqt4
  6. wget -nc https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.3.dev1706101519.tar.gz
  7. wget -nc http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12/PyQt4_gpl_x11-4.12.tar.gz
  8. # sourceforge link not working, manually download at osdn.net for package
  9. wget -nc https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10/QScintilla_gpl-2.10.tar.gz
  10. #################### untar the files #########
  11. tar zxf sip-4.19.3.dev1706101519.tar.gz
  12. tar zxf PyQt4_gpl_x11-4.12.tar.gz
  13. tar zxf QScintilla_gpl-2.10.1.tar.gz
  14. ########### SIP INSTALL ###################
  15. cd ~/installs/pyqt4/sip-4.19.3.dev1706101519
  16. python2 configure.py --confirm-license
  17. make -j2
  18. sudo make install
  19. python3 configure.py --confirm-license
  20. make -j2
  21. sudo make install
  22. ########### pyqt4 ##############
  23. cd ~/installs/pyqt4/PyQt4_gpl_x11-4.12
  24. python2 configure.py --confirm-license
  25. make -j2
  26. sudo make install
  27. python3 configure.py --confirm-license
  28. make -j2
  29. sudo make install
  30. ########### Qscintilla ##########
  31. cd ~/installs/pyqt4/QScintilla_gpl-2.10/Qt4Qt5
  32. qmake DEFINES+=NO_CXX11_REGEX=1
  33. make -j2
  34. sudo make install
  35. cd ~/installs/pyqt4/QScintilla_gpl-2.10/Python
  36. python2 configure.py --confirm-license
  37. make -j2
  38. sudo make install
  39. python3 configure.py --confirm-license
  40. make -j2
  41. sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement