Microsoft office 365 student edition for mac. This seems kind of complicated to install on OS X. I haven't found any precompiled packages of it (are there any? How to install PyQt on Mac OS X 10.6. • • • • • • DMG packages are also available, look for the most recent *-mac-x64.zip at our page Install from Source Dependencies: PyQt and QScintilla 0. Install Apple Development Tools (Xcode) 1. Install Qt4 (Qt SDK for Mac) Direct access via For Snow Leopard (10.6) users: python2.6 is now run on 64-bit environment by default. Please install 64-bit Qt binary, 'Cocoa: Mac binary package for Mac OS X 10.5 - 10.6 (32-bit and 64-bit)'. Do not install Qt version 4.7.1 or 4.7.2. These versions generate crashes in some cases. Note: Qt 4.7.0 does not crash but you will not be able to use keyboard shortcuts corresponding to contextual menu items. This version could be found on with all other versions. Install QScintilla (from source) ~/Downloads/QScintilla-gpl-2.4.3 $ cd Qt4 $ qmake -spec macx-g++ $ make $ sudo make install installed files: • /usr/include/Qsci • /Developer/Applications/Qt/translations/qscintilla_* • /usr/local/Qt4.6/qsci • /Library/Frameworks/libqscintilla* (Optionally) install Qt Designer plugin: ~/Downloads/QScintilla-gpl-2.4.3 $ cd designer-Qt4 $ qmake -spec macx-g++ $ make $ sudo make install installed files: • /Developer/Applications/Qt/plugins/designer/libqscintillaplugin.dylib 3. Install Sip (from source) ~/Downloads/sip-4.10.2 $ python configure.py $ make $ sudo make install For Snow Leopard (10.6) users: If you installed 32-bit Qt, append -n --arch i386 to configure.py. See installed files: • /System/Library/Frameworks/Python.framework/Versions/2.6/bin/sip • /Library/Python/2.6/site-packages/sip.so • /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/sip.h • /Library/Python/2.6/site-packages/sipconfig.py • /Library/Python/2.6/site-packages/sipdistutils.py 4. # Edit ~/.bash_profile or ~/.bashrc # Add these lines (or adjust them) BREW_PREFIX = `brew --prefix ` export PATH = $BREW_PREFIX/share/python: $BREW_PREFIX/bin/: $BREW_PREFIX/sbin: $PATH export PYTHONPATH = $BREW_PREFIX/lib/python2.7/site-packages: $PYTHONPATH Step 2. Install PyQt4 • Follow instructions at brew tap cartr/qt4 brew tap-pin cartr/qt4 brew install qt@4 • install pyqt4 from this tap brew install pyqt@4 • pin qt and sip to prevent breakage from updates brew pin sip qt qt@4 pyqt@4 • Install QScintilla via source. PyQt is a set of Python bindings for Nokia's Qt application framework and runs on all platforms supported by Qt including Windows, MacOS/X and Linux. There are two sets of bindings: PyQt v4 supports Qt v4; and the older PyQt v3 supports Qt v3 and earlier. Quest for glory 4 manual. ![]() The bindings are implemented as a set of Python modules and contain over 300 classes and over 6,000 functions and methods. Like Qt, PyQt v4 is available on all platforms under a variety of licenses including the GNU GPL (v2 and v3) and a commercial license. Unlike Qt, PyQt v4 is not available under the LGPL. You can purchase the commercial version of PyQt here.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |