ubuntu下安装pyqt4

Python | 2012-12-20 20:34:36 | 阅读 9652 次 | 评论(0)

apt-get安装(快)


  1. sudo apt-get install libxext6 libxext-dev libqt4-dev libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig "python-qt4-*" python-qt4




编译安装(慢)


  1. 安装SIP
    • 从 http://www.riverbankcomputing.co.uk/software/sip/download 下载压缩包解压
    • sudo python configure.py
    • make
    • sudo make install
  2. 安装依赖的库
    • sudo apt-get install libxext6 libxext-dev libqt4-dev libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig
  3. 安装PyQt4
    • 从 http://www.riverbankcomputing.co.uk/software/pyqt/download 下载压缩包解压
    • sudo python configure.py
    • sudo make
    • sudo make install
文章评论,共0条
游客请输入验证码
浏览1907704次
文章归档
最新评论
  • Miss_Zou:目测是大佬
  • 神犇dengyuhy:语文很好
  • 猫云:学习 学习