Giter VIP home page Giter VIP logo

pyqt's Introduction

PyQt

安装PyQt5的流程

  1. 下载 PyQt5 source http://www.riverbankcomputing.co.uk/software/pyqt/download5 , sip source http://www.riverbankcomputing.co.uk/software/sip/download , Qt5 http://qt-project.org/downloads
  2. 安装 sip tar -zxvf sip-4.16.3.tar.gz cd sip-4.16.3 python configure.py make sudo make install 3.安装Qt5 4.安装Pyqt5 tar -zxvf PyQt-gpl-5.3.2.tar.gz cd PyQt-gpl-5.3.2 sudo python configure.py -q /Users/boteng/Qt/5.3/clang_64/bin/qmake -d /Library/Python/2.7/site-packages/ --sip /System/Library/Frameworks/Python.framework/Versions/2.7/bin/sip --verbose 问题 Project ERROR: Could not resolve SDK path for 'macosx10.8' 解决办法 ~/Qt/5.3/clang_64/mkspecs/qdevice.pri

change the following line:

!host_build:QMAKE_MAC_SDK = macosx10.8 to this:

!host_build:QMAKE_MAC_SDK = macosx10.9

sip/QtPrintSupport/qprinter.sip:28:10: fatal error: 'qprinter.h' file not found http://www.riverbankcomputing.com/pipermail/pyqt/2014-March/033970.html 最后还没找到如何修改

使用brew 安装 前提需要安装python 3 brew install -v pyqt5 Installing PyQt

You will need the latest version of Python(currently 3.3.3). Make sure this is installed and that you add the executable to the system path. This option is automatically available from within the installer.

pyqt's People

Contributors

yyd1990 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.