Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > ba44e1fd5abf263d5d9b90c956e5dbf3 > files > 40

PyQt-2.5-1mdk.i586.rpm

These are the Python bindings for Qt.  You must also have the SIP runtime
library installed.

The homepage is http://www.thekompany.com/projects/pykde/.

Starting with v2.0, PyQt is installed in the site-packages directory of your
Python installation (if it exists).  If you have an earlier version you should
remove it otherwise it may still be used in preference to the new version
depending on the value of sys.path for your Python installation.

These instructions are for building PyQt under UNIX.  If you are building PyQt
under Windows then read the file INSTALL.win32.

To configure, build and install, run the following commands.

	./configure
	make
	make install

The `examples' directory contains some examples of Python scripts, including
versions of the standard Qt tutorials and examples.

The `doc' directory contains SGML and HTML documentation for the bindings.
This documentation includes a section describing the differences visible to
the Python programmer between this and the previous version - please read it.

To install the documentation and the examples, run the following command.

	make install-doc

The `sip' directory contains the SIP specification files from which the C++
source code is generated.  To install these (so that you can write your own
bindings for classes that are derived from any of the Qt classes), run the
following command.

	make install-sip

To rebuild the C++ source code after modifying the specification files, run the
following command.  (You must have SIP installed.)

	make rebuild-src

To rebuild the documentation after modifying the specification files, run the
following command.  (You must have SIP and sgmltools installed.)

	make rebuild-doc

Phil Thompson
phil@river-bank.demon.co.uk