Friday, April 5, 2013

Install PySide on Windows XP

Pyside is a Python bindings for the cross-platform Qt GUI development toolkit. 

Install 
requirement:
Qt 4.8.x
Python

Before installing Pyside, we need to install Qt at first. Only the version 4.8.x qt is compatible with Pyside for now.

See PySide and download installer(version 1.1.2 released on August 28, 2012)

1.install Qt 4.8.x (Qt libraries 4.8.4 for Windows (VS 2008, 233 MB))

2.install Pyside(PySide-1.1.2.win32-py2.7.exe)

TEST
check if install succesly

for testing input command as below on DOS command line, be sure upper case and capital letters when keying.
>python
>>>import PySide
>>>PySide.__version__
 '1.1.2'
>>>from PySide.QtCore import *
>>>print(PySide.QtCore.__version__)
4.8.2


PySide Tutorials

PySide.QtGui contains functions for dealing with widgets.
PySide.QtCore contains methods for handling signals and slots, and controlling the application.