Downloads

Depending on your needs, PySide is available either as source code or as binary packages for various platforms.

Binaries

Binaries are available for various platforms as listed below.

Linux

Ubuntu – Karmic (9.10)

This is the easiest way to get PySide installed on your Ubuntu system.

We have a PPA repository available for Ubuntu 9.10 Karmic. The following instructions install PySide in your system.

To install PySide itself, add PySide ppa at your apt source list, using this command, and update the package list.

sudo add-apt-repository ppa:pyside
sudo apt-get update

To install all the modules:

sudo apt-get install pyside-qt4 pyside-qt4-gui pyside-qt4-help pyside-qt4-network \
pyside-qt4-opengl pyside-qt4-phonon pyside-qt4-script pyside-qt4-sql \
pyside-qt4-svg pyside-qt4-uitools pyside-qt4-webkit pyside-qt4-xml

If you need just one module (e.g. PySide.QtGui) run a line like below. Be aware that any dependencies will be installed too.

sudo apt-get install pyside-qt4-gui

Maemo 5 (Fremantle)

Warning: Some PySide packages are not available for Maemo because their C++ counterparts were not provided in official packages. The “not provided” packages are: QtHelp, QtScriptTools and QUiTools.

To install the Maemo packages on N900, just add the following line to the /etc/apt/sources.list file (either directly or by adding a new catalogue using the Application Manager):

deb http://repository.maemo.org/extras-devel/ fremantle free non-free

After that run:

apt-get update
apt-get install pyside-qt4-gui

Other distributions

PySide has already been packaged for several Linux distributions. The links below are provided on a best-effort basis and may somewhat lag the “official” source code, Ubuntu, and Maemo releases. If you would like your packages to be listed below, drop an email at pyside@openbossa.org.

openSUSE

Maintainer:
Carlos Goncalves (cgoncalves)

To install PySide on openSUSE 11.2 perform the following commands as root:

# zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside/ \
openSUSE_11.2/ pyside
# zypper refresh pyside
# zypper install python-pyside

There are also packages for openSUSE 11.1 and openSUSE Factory available.

Git clone:

http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/

ArchLinux

Maintainer:
Douglas Andrade (dsa)

To install pyside binaries from git repositories (not the latest oficial release), add the following to your /etc/pacman.conf file:

[pyside]
Server = http://dev.archlinux.org/~douglas/repo/x86_64/pyside

To install it, just run the following command:

sudo pacman -S pyside-git pyside-tools-git

Fedora

Maintainer:
Carlos Goncalves (cgoncalves)

To install PySide on Fedora 12 perform the following commands:

# wget -P /etc/yum.repos.d http://download.opensuse.org/repositories/home:/ \
cgoncalves:/pyside/Fedora_12/home:cgoncalves:pyside.repo
# yum check-update
# yum install python-pyside

Git clone:

http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/

Mandriva

Maintainer:
Carlos Goncalves (cgoncalves)

To install PySide on Mandriva 2010 perform the following commands:

# urpmi.addmedia pyside:devel http://download.opensuse.org/repositories/home:/ \
cgoncalves:/pyside/Mandriva_2010/home:cgoncalves:pyside.repo
# urpmi.update -a
# urpmi python-pyside

Git clone:

http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/

Microsoft Windows

Unfortunately, PySide has not quite yet been ported to Windows. Stay tuned!

Mac OS X

Unofficial Package: PySide-qt4.5+0.2.2.zip

Source code

To compile PySide from scratch, you need to have either Boost 1.40 or a patched version of Boost 1.38. The required patches are:

Add generic call operator support.

Support C++ enums which have the same value.

Fix unsigned integer converters.

Fix unsigned integer converters.

Source code packages

Here you can get source files for all project components:

Instructions on how to build can be found here.

Note that generatorrunner replaces the old boostpythongenerator tarball.

Git version control repository

The bleeding edge version. Files are updated constantly as developers commit new changes. Pyside Git repositories are hosted at qt.gitorius.org.