PySide2

5.15.3

  • PYSIDE-454 namespace std is no longer rejected in the Qt typesystem files.

  • PYSIDE-807 setup.py’s ‘clean’ command has been fixed.

  • PYSIDE-1305 The error handling of constructor keyword arguments has been fixed.

  • PYSIDE-1422 A crash related to Signal and eq has been fixed.

  • PYSIDE-1432 An ownership issue in QLayout::replaceWidget() has been fixed.

  • PYSIDE-1442 QFlags operations have been fixed.

  • PYSIDE-1447 A crash related to qApp and Python 3.9 has been fixed.

  • PYSIDE-1449 QTestlib’s QAbstractItemModelTester has been added.

  • PYSIDE-1460 An infinite loop changing up directories in the signature bootstrap code has been fixed.

  • PYSIDE-1466 The newly introduced overload QSetting.value() taking a type has been documentated.

  • PYSIDE-1478 A bug related to using QQmlContext.setContextProperty() with the snake case feature has been fixed.

5.15.2

  • PYSIDE-487 Some missing enumerations and classes were added.

  • PYSIDE-644 QNetworkCookie was added to WebEngineCore.

  • PYSIDE-665 A crash when reimplementing QLayout.takeAt() was fixed.

  • PYSIDE-807 setup.py was rewritten to properly show options the in command help.

  • PYSIDE-972 Launching PySide2 from paths with non-ASCII Latin1 characters was fixed.

  • PYSIDE-1019 feature_select: Qt Properties are now represented as Python properties.

  • PYSIDE-1070 A crash when overriding QUiLoader::createWidget() in QUiLoader was fixed.

  • PYSIDE-1082 A crash when creating QMimeData from Q(Plain)TextEdit::createMimeDataFromSelection() was fixed.

  • PYSIDE-1202 More classes from QtConcurrent were added.

  • PYSIDE-1224 The namespace QColorConstants was added.

  • PYSIDE-1326 Operators for QFlags on hidden top level namespace are now generated.

  • PYSIDE-1354 Slots being invoked from the wrong thread were fixed.

  • PYSIDE-1381 The dependency of the QtQml module header on internal header pysideqmlregistertype.h was removed.

  • PYSIDE-1385 Deprecated wheel.pep425tags imports were removed.

  • PYSIDE-1390 setup.py: The build_rst_docs command was added to build rst documentation only

  • PYSIDE-1397 Functions taking a smart pointer now accept smart pointers to base classes.

  • PYSIDE-1410 QAxBase::dynamicCall() was fixed.

5.15.1

  • PYSIDE-74 Implement default ne and eq for all PySide types

  • PYSIDE-198 Add compatibility with Nuitka

  • PYSIDE-829 signature: Avoid non-existent attributes in compiled code (Nuitka)

  • PYSIDE-841 doc: Add widget styling tutorial

  • PYSIDE-841 add quick painteditem example

  • PYSIDE-904 Add QObject.findChildren(QRegularExpression)

  • PYSIDE-904 qp5_tool.py: Add an configuration key for the CMake generator

  • PYSIDE-904 Port some examples from QRegExp to QRegularExpression

  • PYSIDE-904 Fix libsample/photon test for Qt 6 / Windows

  • PYSIDE-904 Enable adding operators ==, != as functions without code injection

  • PYSIDE-957 Implement the QEnum/QFlag decorator, V2

  • PYSIDE-981 Return QVariantList when using list as Signal argument

  • PYSIDE-1019 feature-select: Implement a selectable feature framework

  • PYSIDE-1019 feature-select: allow snake_case instead of camelCase for methods

  • PYSIDE-1019 feature-select: delay the feature switching

  • PYSIDE-1223 Use pyside2-uic instead of uic for the loadUiType

  • PYSIDE-1257 Potential fix for deploying with cx_freeze using zip_include_packages

  • PYSIDE-1282 pthreads: Try to abandon the GIL in case a thread was terminated

  • PYSIDE-1292 Doc: Enable doc builds using the offline template

  • PYSIDE-1313 basewrapper.cpp: add PyErr_Fetch/Restore in SbkDeallocWrapperCommon()

  • PYSIDE-1317 Add QSocketDescriptor class

  • PYSIDE-1321 Fix leaking reference in PySide2 property getter

  • PYSIDE-1321 Fix some leaks in enumeration creation

  • PYSIDE-1323 Add missing Win runtime dll into win wheels

  • PYSIDE-1323 Update vcredist binaries for MSVC 2019

  • PYSIDE-1332 Fix crashes in QThread::wait(), QWaitCondition::wait()

  • PYSIDE-1349 QQmlComponent: allow thread in constructors

  • PYSIDE-1353 doc: fix Property indentation

  • PYSIDE-1355 Add Qt3DExtras.QNormalDiffuseMapAlphaMaterial

  • PYSIDE-1368 feature: ignore if __name__ does not exist in a module

  • PYSIDE-1372 QDomElement: remove unnecesary setAttribute overloads

  • PYSIDE-1374 Add the QWidget *-based overloads of the QtWinExtras functions

5.15.0

5.14.2.3

  • PYSIDE-1223 pyside2-uic instead of uic is not used for loadUiType()

  • PYSIDE-1257 Deployment with cx_freeze using zip_include_packages has been fixed

  • PYSIDE-1282 A crash using QThread.terminate() on pthreads has been fixed

  • PYSIDE-1311 The downloads functionality of the Tabbedbrowser example has been fixed

  • PYSIDE-1321 A leaking reference in the PySide2 property getter has been fixed

5.14.2.2

  • PYSIDE-1100 Support type checking with the mypy module

  • PYSIDE-1236 samplebinding: Fix running with Python 3.8.2 on Windows

  • PYSIDE-1255 Fix memory corruption for QML registered types

  • PYSIDE-1271 QMutexLocker: allow-thread in constructor

  • PYSIDE-1272 signature: Add comparison for existing_doc type

  • PYSIDE-1285 qareaseries: keep references of lower/upper series

  • PYSIDE-1293 Windows: Fix encoding in custom message handler

  • PYSIDE-15 Support pickling of Qt Enum objects

  • PYSIDE-1223 Add QtUiTools.loadUiType

  • PYSIDE-1286 Implement qualname and correct module for classes

  • PYSIDE-1303 PySide2: Fix conversion of quintptr

5.14.2

  • PYSIDE-135 Add doc getter for Property

  • PYSIDE-239 Python enum types can now be used as a valid signal type.

  • PYSIDE-939 Fix Python 3.8 warnings about deprecated int conversions of enums/flags

  • PYSIDE-571 qApp has been turned into a normal Python variable. This implies that QtWidgets.qApp no longer works; it should be replaced by qApp.

  • PYSIDE-803 GUI slowdowns caused by background threads have been fixed by reducing GIL allocation and usage of Py_(BEGIN|END)_ALLOW_THREADS.

  • PYSIDE-858 Windows binaries are now signed.

  • PYSIDE-939 Fix testrunner for Python 3.8/Linux

  • PYSIDE-946 Add functions with callback of QWebEnginePage

  • PYSIDE-1231 Further issues introduced by Python 3.8 have been addressed: - Warnings about deprecated int conversions of enumerations and flags have been fixed. - Packages can now be built with Python 3.8.1. - Tests run with Python 3.8.1.

  • PYSIDE-1189 A crash caused by wrong ownership of the return value of QList/QTable/QTreeWidget.mimeData() has been fixed.

  • PYSIDE-1199 The webchannel standalone example has been added.

  • PYSIDE-1204 QByteArray now properly supports the PyBuffer interface.

  • PYSIDE-1214 For accessors returning non-exposed classes inheriting QObject, the most-derived wrapper is now created.

  • PYSIDE-1229 testrunner: Fix disrupted lines in the error log

  • PYSIDE-1236 Fix running scriptableapplication in a virtualenv on Windows with Python 3.8

  • PYSIDE-1247 Avoid a signature warning in Python 3.6

  • PYSIDE-1250 PySide2: Use int for QVariant conversion when possible

  • PYSIDE-1251 Invert QTreeWidgetItem clear function loop

5.14.1

  • PYSIDE-841 Add example for Threads and Signals

  • PYSIDE-1135 qApp: Ensure QtCore import when embedded QApplication subclass is used

  • PYSIDE-1158 Let qApp be noApp instead of pretending to be None

  • PYSIDE-1164 qApp: make sure to create the right instance when embedding

  • PYSIDE-1165 designer: patch rpath for unix

  • PYSIDE-1192 libpyside: Set default signal name only if previously assigned

  • PYSIDE-1201 docs: Fix pre overlap and improve reading

  • PYSIDE-1205 libpyside: avoid freeing char*

  • PYSIDE-1207 Fix ownership of QTextDocument::createObject

5.14.0

  • PYSIDE-487 Add bindings for Qt 5.14

  • PYSIDE-785 Release ownership in QAbstractVideoFilterWrapper::createFilterRunnable

  • PYSIDE-795 Create a framework for deprecated functions

  • PYSIDE-795 Make the function registry more usable in Python modules

  • PYSIDE-795 Improve the NumPy Support by iterables

  • PYSIDE-820 Fix booleans and empty list cases in QSettings

  • PYSIDE-849 Add inject-code for QVideoFrame::bits()

  • PYSIDE-939 Add support for Python 3.8

  • PYSIDE-939 Fix refcount issues with QSettings glue code

  • PYSIDE-939 Finalize the Python 3.8 refcount fix

  • PYSIDE-951 Support Pointer Primitive Types by Arrays or Result Tuples

  • PYSIDE-1007 Remove extra ref on QDataStream::setDevice

  • PYSIDE-1033 CMake modularization: macros creation

  • PYSIDE-1041 Enable multimedia classes after API fixup

  • PYSIDE-1047 QtWinExtras: Add QtWin namespace

  • PYSIDE-1051 Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7

  • PYSIDE-1052 Add QtCore.Slot.signature and much more manually

  • PYSIDE-1059 Documentation: update QInputDialog snippets

  • PYSIDE-1066 Fix Xcode sdk value embedded into PySide2 binaries

  • PYSIDE-1067 Update docs style

  • PYSIDE-1067 New documentation structure

  • PYSIDE-1068 Add designer to the pyside tools

  • PYSIDE-1073 Fix a typing bug in Python 2.7 and update

  • PYSIDE-1077 Fix wrong Python init return codes

  • PYSIDE-1079 signature: Support typing.Optional[T] and refine a bit

  • PYSIDE-1089 Fix formatting of the deployment documentation

  • PYSIDE-1093 Fix bad shutdown effect on QApplication.instance()

  • PYSIDE-1098 Replace pyside2-uic/pyside2-rcc by uic/rcc which now have an option to generate Python

  • PYSIDE-1101 Remove QGraphicsItem::scroll from QtChart

  • PYSIDE-1140 Add python_requires to the python setup

  • [QTBUG-66304] Blacklist failing QtPositioning test

5.13.2

  • PYSIDE-785 Release ownership in QAbstractVideoFilterWrapper::createFilterRunnable

  • PYSIDE-820 Fix booleans and empty list cases in QSettings

  • PYSIDE-849 Add inject-code for QVideoFrame::bits()

  • PYSIDE-1007 Remove extra ref on QDataStream::setDevice

  • PYSIDE-1019 libpyside: Fix compiler warning

  • PYSIDE-1049 Split build instructions to build and packaging

  • PYSIDE-1051 Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7

  • PYSIDE-1089 Fix formatting of the deployment documentation

  • PYSIDE-1093 Fix bad shutdown effect on QApplication.instance()

5.13.1

  • [Fixes https://github.com/spyder-ide/qtpy/issues/195] Fix RuntimeError: dictionary changed size during iteration

  • PYSIDE-634 Add support for parameterNames in Signals

  • PYSIDE-951 Cleanup signature module before substantial change

  • PYSIDE-951 correct QtPrintSupport dependency

  • PYSIDE-1010 Add optional support for types in QSettings::value

  • PYSIDE-1020 Fix pyside2-uic to generate correct code for QWebview and QQuickWidget

  • PYSIDE-1028 Leave QVariantMap as a name, not a type

  • PYSIDE-1033 CMake modularization: macros creation

  • PYSIDE-1035 Fix pyside2-uic to generate correct code for QTableWidget

  • PYSIDE-1051 Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7

  • PYSIDE-1052 Add QtCore.Slot.signature and much more manually

  • PYSIDE-1059 Documentation: update QInputDialog snippets

  • PYSIDE-1066 Fix Xcode sdk value embedded into PySide2 binaries

  • PYSIDE-1067 Update docs style

  • PYSIDE-1073 Fix a typing bug in Python 2.7 and update

  • PYSIDE-1077 Fix wrong Python init return codes

  • PYSIDE-1079 signature: Support typing.Optional[T] and refine a bit

5.13.0

  • PYSIDE-487 Add bindings for 5.13

  • PYSIDE-571 Support the qApp macro in “scriptable application”

  • PYSIDE-841 Doc: Add QML Integration tutorial

  • PYSIDE-841 Docs: Add Expenses tool tutorial

  • PYSIDE-855 Regenerate all example forms using the python-extended rcc of 5.14

  • PYSIDE-1029 Fix type name for lookup of QFlags<> converters

  • PYSIDE-1032 Use default compiler on macOS

5.12.6

  • [Fixes: PYSIDE-1007] Remove extra ref on QDataStream::setDevice

  • [Fixes: PYSIDE-1051] Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7

5.12.5

  • PYSIDE-571 Support the qApp macro in “scriptable application”

  • PYSIDE-634 Add support for parameterNames in Signals

  • PYSIDE-951 Correct QtPrintSupport dependency

  • PYSIDE-1010 Add optional support for types in QSettings::value

  • PYSIDE-1020 Fix pyside2-uic to generate correct code for QWebview and QQuickWidget

  • PYSIDE-1028 Leave QVariantMap as a name, not a type

  • PYSIDE-1029 Fix type name for lookup of QFlags<> converters

  • PYSIDE-1032 Use default compiler on macOS

  • PYSIDE-1035 Fix pyside2-uic to generate correct code for QTableWidget

  • PYSIDE-1066 Fix Xcode sdk value embedded into PySide2 binaries

5.12.4

  • PYSIDE-571 correct bool(qApp) on Python 2

  • PYSIDE-735 generate_pyi: Simplify, Enhance and Get Rid Of Any Import Problems

  • PYSIDE-865 opengl/contextinfo.py: Fix exception on exit

  • PYSIDE-865 opengl/contextinfo.py: Polish the example a bit

  • PYSIDE-908 Complete the help() support for Types

  • PYSIDE-955 Add PySide2: Add OpenGL version functions as separate module

  • PYSIDE-980 CMake: Change the default behavior CMAKE_BUILD_TYPE

  • PYSIDE-996 Fix PyInstaller after removal of COIN glitches

  • PYSIDE-1003 Fix Shiboken.ObjectType.new for Python 2.7 V2

  • PYSIDE-1004 Make the signature attribute writable by default

  • PYSIDE-1008 Fix propagation of existing LD env vars when calling generate_pyi

  • PYSIDE-1009 Signature: Try to recognize unknown modules in errorhandler.py

  • PYSIDE-1012 Fix build on centOS/conda forge

  • PYSIDE-1019 PySide: Allow any existing attribute in the constructor

  • PYSIDE-1022 TabbedBrowser Example: Fix “Open in new tab”

  • PYSIDE-1027 Fix negative refcount on QSocketNotifier

5.12.3

  • PYSIDE-993 Use correct environment variable to detect when running in Coin

  • Many updated to the documentation

  • Add array modification for QGLShaderProgram::setAttributeArray(int,const float *v,int,int)

  • Signatures: Add support for PySide2.QtCore.short/ushort/signed char

  • Add explicit methods for QOpenGLShaderProgramm.setUniformValue (i/f)

5.12.2

  • PYSIDE-934 Added a method to VoidPtr called toBytes() to get the bytes representation.

  • PYSIDE-95 Added ownership transfer for QGraphicsItemGroup.addToGroup

  • PYSIDE-928[PYSIDE-937][PYSIDE-943] Fixing a refcounting bug shown by doc handling

  • PYSIDE-931 Added the attribute ‘allow-thread’ to the type system and class entries.

  • PYSIDE-947 Fixed conversions of list of smart pointers to python

  • PYSIDE-953 Preventing Python 3.5 from crashing the build

  • PYSIDE-940 Added setPageSize new signature to QPageSize

  • PYSIDE-950 Allowed subclassing PyCFunction in extension modules

  • PYSIDE-938 Set the proper parent when overloading QUiLoader.addAction()

  • Added common QPrintSupport typesystem for QWebEngine

  • PYSIDE-942 Fixed an error when importing signatures in frozen executables

  • PYSIDE-948 Fixed problem when using smart pointers with namespaces

  • PYSIDE-45 Added support for using PyObject wrapper when an invalid QVariant is used

  • PYSIDE-922 Added pyObj check for the setSequenceOwnership

  • PYSIDE-919 Modernized the cmake build process

  • PYSIDE-924 Propagated Property attributes to the MetaObject

  • Improved the type hints for containers

  • PYSIDE-906 Added missing classes QWebEngineHistory and WebEngineHistoryItem

  • Added QtRemoteObject classes

  • Added a script to generate a debug log in windows called debug_windows.py

5.12.1

  • PYSIDE-878 Added binding for QWebEngineUrlScheme which was missing

  • Completed the signature introspection

  • Activated existence_test.py for 5.12

  • PYSIDE-868 Fixed a crash related to multiple inheritance

  • PYSIDE-886 Fixed crash when mixing static overloads with instance methods in derived classes

  • PYSIDE-892 Added free functions from namespace QtQml

  • Fixed a rare type hint racing condition

  • Used helper function for accessing the meta object in quick type registration for libpyside

  • PYSIDE-883 Fixed regression related to removing createIndex method that uses PyObject*

  • PYSIDE-882 Avoided the creation of empty build directories in the install tree

  • Produced TypeError messages using the signature module

  • Replaced nullptr by None in signatures in the documentation

  • Updated and fixed the Slot documentation

  • Added \nullptr macro definition in the documentation

  • PYSIDE-874 Fixed wrong METADATA for generated wheels

  • PYSIDE-898 Improved check when a QFlag is found

  • PYSIDE-790 Fixed a crash when overriding QAbstractNativeEventFilter.QAbstractNativeEventFilter()

  • Added support for the help() function using the signature module

  • PYSIDE-880 Fixed an issue on the setup.py when running under non-UTF8 locale