Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 History  





2 Hello, World! example  





3 See also  





4 References  





5 External links  














PySide






Català
Español
Français

Italiano
Nederlands

Português
Русский
Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


PySide

Original author(s)

The Qt Company (as part of Nokia)

Developer(s)

The Qt Company

Initial release

August 18, 2009; 14 years ago (2009-08-18)[1]

Stable release

6.6.2 / February 15, 2024; 5 months ago (2024-02-15)[2]

Written in

Python

Operating system

Linux/X11, macOS, Windows

License

LGPL

Website

pyside.org qt.io/qt-for-python

PySide is a Python binding of the cross-platform GUI toolkit Qt developed by The Qt Company, as part of the Qt for Python project. It is one of the alternatives to the standard library package Tkinter. Like Qt, PySide is free software. PySide supports Linux/X11, macOS, and Microsoft Windows. The project can also be cross compiled to embedded systems like Raspberry Pi,[3][4] and Android devices.[5]

History[edit]

By 2009, Nokia, the then owners of the Qt toolkit, wanted Python binding available under the LGPL license. Nokia failed to reach an agreement with Riverbank Computing the developers of PyQt Python binding.[6] In August, Nokia released PySide. It provided similar functionality, but under the LGPL.[7][8] 'Side' is Finnish for binding.[6]

There have been three major versions of PySide:[9]

PySide version 1 was released in August 2009 under the LGPLbyNokia,[1] then the owner of the Qt toolkit, after it failed to reach an agreement with PyQt developers Riverbank Computing[10] to change its licensing terms to include LGPL as an alternative license. It supported Qt 4 under the operating systems Linux/X11, Mac OS X, Microsoft Windows, Maemo and MeeGo,[11] while the PySide community added support for Android.[12]

PySide2 was started by Christian Tismer to port PySide from Qt 4 to Qt 5 in 2015.[13] The project was then folded into the Qt Project.[14] It was released in December 2018.[13]

PySide6 was released in December 2020. It added support for Qt 6 and removed support for all Python versions older than 3.6.[9]

The project started out using Boost.Python from the Boost C++ libraries for the bindings. It later created its own binding generator named Shiboken,[15] to reduce the size of the binaries and the memory footprint.[16][when?]

Hello, World! example[edit]

# Import PySide6 classes
import sys
from PySide6 import QtCore, QtWidgets

# Create a Qt application
app = QtWidgets.QApplication(sys.argv)

# Create a Window
mywindow = QtWidgets.QWidget()
mywindow.resize(320, 240)
mywindow.setWindowTitle('Hello, World!')

# Create a label and display it all together
mylabel = QtWidgets.QLabel(mywindow)
mylabel.setText('Hello, World!')
mylabel.setGeometry(QtCore.QRect(200, 200, 200, 200))

mywindow.show()

# Enter Qt application main loop
sys.exit(app.exec())

See also[edit]

References[edit]

  1. ^ a b "PySide has been released". PySide – Python for Qt. August 18, 2009. Archived from the original on October 25, 2009.
  • ^ "PySide6 Release History". Python Package Index.
  • ^ "Qt for Python Cross compilation". Qt. The Qt Company. April 13, 2022.
  • ^ "Qt for Python details on the new 6.3 release". Qt. The Qt Company. April 13, 2022.
  • ^ "Taking Qt for Python to Android". Qt. The Qt Company. April 13, 2022.
  • ^ a b faq, Martin Fitzpatrick Last updated (2019-06-21). "PyQt5 vs PySide2: What's the difference between the two Python Qt libraries?". Python GUIs. Retrieved 2022-06-25.
  • ^ "FAQ – PySide – Python for Qt". Pyside.org. Archived from the original on 2012-01-11. Retrieved 2009-09-03.
  • ^ "PySide has been released – PySide – Python for Qt". Pyside.org. 2009-08-18. Archived from the original on 2009-10-25. Retrieved 2009-09-03.
  • ^ a b Maureira-Fredes, Cristián (December 10, 2020). "Qt for Python 6 released". Qt. The Qt Company.
  • ^ "PySide FAQ". Qt Wiki. July 31, 2017. Retrieved February 24, 2021.
  • ^ "PySide Downloads". Qt Wiki. February 16, 2018. Retrieved February 24, 2021.
  • ^ "PySide for Android guide". Qt Wiki. February 26, 2018. Retrieved February 24, 2021.
  • ^ a b "Qt for Python". Qt Wiki. December 16, 2020. Retrieved February 24, 2021.
  • ^ Knoll, Lars; Tismer, Christian (April 11, 2016). "Bringing pyside back to Qt Project". pyside-dev Google Group. Retrieved February 24, 2021.
  • ^ "Shiboken". Qt Documentation. The Qt Company. Retrieved February 24, 2021.
  • ^ "PySide Shiboken FAQ". Qt Wiki. June 5, 2016. Retrieved February 24, 2021.
  • External links[edit]

    GUIs built with Qt

  • Gambas
  • KDE Plasma
  • Kdenlive
  • KDE Partition Manager
  • FeatherPad
  • Lubuntu
  • Lumina
  • LXQt
  • MeeGo
  • Sailfish OS
  • Skanlite
  • VLC
  • Qt technologies

  • QML
  • QtScript
  • Qt Quick
  • Signals and slots
  • Tools

  • qmake
  • Qt Creator
  • Language bindings

  • List for Qt 5
  • PyQt
  • PySide
  • QtRuby
  • Qt Jambi
  • Supported platforms

  • Linux
  • Windows
  • Windows 10 Mobile
  • macOS
  • iOS
  • QNX
  • VxWorks
  • Related topics

  • Mer
  • The Qt Company
  • Qt Project
  • KDE Software
  • Commons
  • Low-level

    OnAmigaOS

    OnClassic Mac OS, macOS

  • Carbon
  • OnWindows

  • UWP
  • OnUnix,
    under X11

  • XCB
  • X Toolkit Intrinsics
  • OnBeOS, Haiku

    Cross-platform

    CLI

    C

  • Simple DirectMedia Layer
  • Java

  • LWJGL
  • OnAndroid

    CLI

    High-level, platform-specific

    OnAmigaOS

  • MUI
  • ReAction GUI
  • Zune
  • OnClassic Mac OS, macOS

    Object Pascal

    Objective-C, Swift

  • Cocoa Touch
  • C++

  • PowerPlant
  • THINK C
  • CLI

  • Xamarin.iOS
  • OnWindows

    CLI

  • XAML
  • Windows UI Library
  • Silverlight
  • Microsoft XNA
  • C++

  • Active Template Library
  • Windows Template Library
  • Object Windows Library
  • Object Pascal

    OnUnix,
    under X11

  • LessTif
  • Motif
  • OLIT
  • XForms
  • XView
  • OnAndroid

    High-level, cross-platform

    C

  • GTK
  • IUP
  • XForms
  • XVT
  • C++

  • CEGUI
  • Component Library for Cross Platform
  • FLTK
  • FOX toolkit
  • OpenGL User Interface Library
  • gtkmm
  • JUCE
  • Qt
  • Rogue Wave Views
  • TnFOX
  • U++
  • Wt
  • wxWidgets
  • Simple and Fast Multimedia Library
  • Objective-C

    CLI

  • Tao Framework
  • UIML
  • MonoGame
  • Moonlight
  • Xamarin.Forms
  • XWT[1][2]
  • .NET MAUI
  • Adobe Flash

    Go

    Haskell

    Java

  • FXML
  • JavaFX
  • Qt Jambi
  • Swing
  • Standard Widget Toolkit
  • Google Web Toolkit
  • Lightweight User Interface Toolkit
  • JavaScript

  • Echo
  • Ext JS
  • Google Closure Tools
  • jQuery UI
  • OpenUI5
  • Qooxdoo
  • YUI
  • Common Lisp

  • CLIM
  • Common Graphics
  • Lua

    Pascal

    Object Pascal

  • fpGUI
  • IP Pascal
  • FireMonkey
  • Perl

  • wxPerl
  • PHP

  • wxPHP
  • Python

  • Kivy
  • PySide
  • PyQt
  • PyGTK
  • wxPython
  • Pyjs
  • Ruby

  • QtRuby
  • Tcl

    XML

  • Lively Kernel
  • Extensible Application Markup Language
  • XUL
  • Wt
  • shell

  • CDK
  • Dialog
  • Dart


  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=PySide&oldid=1214569279"

    Categories: 
    Python (programming language) libraries
    Qt (software)
    Widget toolkits
    Free and open-source software stubs
    Hidden categories: 
    All articles with vague or ambiguous time
    Vague or ambiguous time from June 2022
    All stub articles
     



    This page was last edited on 19 March 2024, at 19:22 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki