Book Image

Pyside GUI Application Development- Second Edition - Second Edition

By : Venkateshwaran Loganathan, Gopinath Jaganmohan
Book Image

Pyside GUI Application Development- Second Edition - Second Edition

By: Venkateshwaran Loganathan, Gopinath Jaganmohan

Overview of this book

Elegantly-built GUI applications are always a massive hit among users. PySide is an open source software project that provides Python bindings for the Qt cross-platform UI framework. Combining the power of Qt and Python, PySide provides easy access to the Qt framework for Python developers and also acts as an excellent rapid application development platform. This book will take you through everything you need to know to develop UI applications. You will learn about installing and building PySide in various major operating systems as well as the basics of GUI programming. The book will then move on to discuss event management, signals and slots, and the widgets and dialogs available with PySide. Database interaction and manipulation is also covered. By the end of this book, you will be able to program GUI applications efficiently and master how to develop your own applications and how to run them across platforms.
Table of Contents (13 chapters)

Building PySide on Windows


Before starting to build PySide on Windows, ensure that the following prerequisites are installed:

Make sure that the Git and cmake executables are set in your system path. Now, perform the following steps to start building PySide:

  1. Git Clone the PySide repository from GitHub, as follows:

    c:/> git clone https://github.com/PySide/pyside-setup.git pyside-setup
    
  2. Change your working directory to pyside-setup, as follows:

    c:/> cd pyside-setup
    
  3. Build the installer:

    c:\> c:\Python27\python.exe setup.py bdist_wininst --msvc-version=9.0 --make=c:\Qt\4.8.4\bin\qmake.exe --openssl=c:\OpenSSL32bit\bin
    
  4. Upon successful installation, the binaries can be found in the dist sub-folder:

    c:\pyside-setup\dist
    

On completion of these steps, the PySide should have been successfully built on your system.