Qt for Python Missing Bindings: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= PySide2 bindings for Qt 5.14 =
= PySide2 bindings for Qt 5.15 =
Using Qt version 5.14 documentation to find public API Qt types and test
Using Qt version 5.15 documentation to find public API Qt types and test
if the types are present in the PySide2 package.
if the types are present in the PySide2 package.
Similar report:
Similar report:
Line 6: Line 6:


This report was generated by running the following command:
This report was generated by running the following command:
  python missing_bindings.py --qt-version 5.14 --which-missing all
  python tools/missing_bindings.py
on the following date:
on the following date:
  2020-03-20 14:48:08 GMT
  2020-06-08 07:42:50 GMT


===== QtCore =====
===== QtCore =====
Documentation link: http://doc.qt.io/qt-5/qtcore-module.html
Documentation link: http://doc.qt.io/qt-5/qtcore-module.html


Number of types in QtCore:''' 196'''
Number of types in QtCore:''' 198'''


Missing types in QtCore:
Missing types in QtCore:
Line 21: Line 21:
  QAtomicPointer
  QAtomicPointer
  QBEInteger
  QBEInteger
QByteArray.FromBase64Result (is present in PyQt5)
  QByteArrayList
  QByteArrayList
  QCache
  QCache
Line 27: Line 28:
  QCborStreamReader.StringResult
  QCborStreamReader.StringResult
  QContiguousCache
  QContiguousCache
QDeadlineTimer (is present in PyQt5)
  QEventLoopLocker (is present in PyQt5)
  QEventLoopLocker (is present in PyQt5)
  QException
  QException
Line 55: Line 55:
  QVariant (is present in PyQt5)
  QVariant (is present in PyQt5)
  QWinEventNotifier
  QWinEventNotifier
qfloat16


Number of missing types:''' 38'''
Number of missing types:''' 39'''


Number of missing types that are present in PyQt5:''' 9'''
Number of missing types that are present in PyQt5:''' 9'''
Line 89: Line 90:
Documentation link: http://doc.qt.io/qt-5/qtmultimedia-module.html
Documentation link: http://doc.qt.io/qt-5/qtmultimedia-module.html


Number of types in QtMultimedia:''' 86'''
Number of types in QtMultimedia:''' 48'''


Missing types in QtMultimedia:
Missing types in QtMultimedia:
Line 112: Line 113:
Documentation link: http://doc.qt.io/qt-5/qtnetwork-module.html
Documentation link: http://doc.qt.io/qt-5/qtnetwork-module.html


Number of types in QtNetwork:''' 54'''
Number of types in QtNetwork:''' 51'''


Missing types in QtNetwork:
Missing types in QtNetwork:
Line 135: Line 136:


  QQmlContext.PropertyPair (is present in PyQt5)
  QQmlContext.PropertyPair (is present in PyQt5)
QQmlEngineExtensionPlugin (is present in PyQt5)
  QQmlListProperty (is present in PyQt5)
  QQmlListProperty (is present in PyQt5)


Number of missing types:''' 2'''
Number of missing types:''' 3'''


Number of missing types that are present in PyQt5:''' 2'''
Number of missing types that are present in PyQt5:''' 3'''


===== QtQuick =====
===== QtQuick =====
Documentation link: http://doc.qt.io/qt-5/qtquick-module.html
Documentation link: http://doc.qt.io/qt-5/qtquick-module.html


Number of types in QtQuick:''' 48'''
Number of types in QtQuick:''' 46'''


Missing types in QtQuick:
Missing types in QtQuick:
Line 153: Line 155:
  QSGImageNode (is present in PyQt5)
  QSGImageNode (is present in PyQt5)
  QSGMaterial (is present in PyQt5)
  QSGMaterial (is present in PyQt5)
  QSGMaterialRhiShader
  QSGMaterialRhiShader (is present in PyQt5)
  QSGMaterialRhiShader.GraphicsPipelineState
  QSGMaterialRhiShader.GraphicsPipelineState (is present in PyQt5)
  QSGMaterialShader (is present in PyQt5)
  QSGMaterialShader (is present in PyQt5)
  QSGMaterialShader.RenderState (is present in PyQt5)
  QSGMaterialShader.RenderState (is present in PyQt5)
Line 161: Line 163:
  QSGRenderNode (is present in PyQt5)
  QSGRenderNode (is present in PyQt5)
  QSGRendererInterface (is present in PyQt5)
  QSGRendererInterface (is present in PyQt5)
  QSGSimpleMaterial
  QSGTexture.NativeTexture (is present in PyQt5)
QSGSimpleMaterialShader
  QSGTextureMaterial (is present in PyQt5)
  QSGTextureMaterial (is present in PyQt5)
  QSGVertexColorMaterial (is present in PyQt5)
  QSGVertexColorMaterial (is present in PyQt5)


Number of missing types:''' 17'''
Number of missing types:''' 16'''


Number of missing types that are present in PyQt5:''' 12'''
Number of missing types that are present in PyQt5:''' 15'''


===== QtQuickWidgets =====
===== QtQuickWidgets =====
Line 314: Line 315:
Documentation link: http://doc.qt.io/qt-5/qthelp-module.html
Documentation link: http://doc.qt.io/qt-5/qthelp-module.html


Number of types in QtHelp:''' 14'''
Number of types in QtHelp:''' 16'''


Number of missing types:''' 0'''
Number of missing types:''' 0'''
Line 444: Line 445:
Documentation link: http://doc.qt.io/qt-5/qtxml-module.html
Documentation link: http://doc.qt.io/qt-5/qtxml-module.html


Number of types in QtXml:''' 31'''
Number of types in QtXml:''' 17'''


Number of missing types:''' 0'''
Number of missing types:''' 0'''
Line 537: Line 538:


Number of missing types that are present in PyQt5:''' 0'''
Number of missing types that are present in PyQt5:''' 0'''
===== QtSerialPort =====
Documentation link: http://doc.qt.io/qt-5/qtserialport-module.html
Number of types in QtSerialPort:''' 2'''
Number of missing types:''' 0'''


===== Summary =====
===== Summary =====
Total number of missing types:''' 127'''
Total number of missing types:''' 128'''


Total number of missing types that are present in PyQt5:''' 48'''
Total number of missing types that are present in PyQt5:''' 52'''


Total number of missing modules:''' 2'''
Total number of missing modules:''' 2'''

Revision as of 07:44, 8 June 2020

PySide2 bindings for Qt 5.15

Using Qt version 5.15 documentation to find public API Qt types and test if the types are present in the PySide2 package. Similar report: https://gist.github.com/ethanhs/6c626ca4e291f3682589699296377d3a

This report was generated by running the following command:

python tools/missing_bindings.py

on the following date:

2020-06-08 07:42:50 GMT
QtCore

Documentation link: http://doc.qt.io/qt-5/qtcore-module.html

Number of types in QtCore: 198

Missing types in QtCore:

QAtomicInt
QAtomicInteger
QAtomicPointer
QBEInteger
QByteArray.FromBase64Result (is present in PyQt5)
QByteArrayList
QCache
QCborMap.ConstIterator
QCborMap.Iterator
QCborStreamReader.StringResult
QContiguousCache
QEventLoopLocker (is present in PyQt5)
QException
QFuture
QFutureSynchronizer
QFutureWatcher
QGregorianCalendar
QJalaliCalendar
QJsonObject
QJulianCalendar
QKeyValueIterator
QLEInteger
QLibrary (is present in PyQt5)
QLoggingCategory (is present in PyQt5)
QMessageLogger (is present in PyQt5)
QMetaType (is present in PyQt5)
QMilankovicCalendar
QObjectCleanupHandler (is present in PyQt5)
QProcess.CreateProcessArguments
QRomanCalendar
QScopeGuard
QSharedMemory (is present in PyQt5)
QStaticByteArrayMatcher
QStringView
QThreadStorage
QUnhandledException
QVariant (is present in PyQt5)
QWinEventNotifier
qfloat16

Number of missing types: 39

Number of missing types that are present in PyQt5: 9

QtGui

Documentation link: http://doc.qt.io/qt-5/qtgui-module.html

Number of types in QtGui: 196

Missing types in QtGui:

QColorConstants (is present in PyQt5)
QColorTransform (is present in PyQt5)
QGlyphRun (is present in PyQt5)
QIconEngine.ScaledPixmapArgument (is present in PyQt5)
QOpenGLPaintDevice (is present in PyQt5)
QPlatformSurfaceEvent (is present in PyQt5)
QRasterPaintEngine
QRgba64 (is present in PyQt5)
QSupportedWritingSystems
QVulkanDeviceFunctions
QVulkanFunctions
QVulkanInstance
QVulkanWindow
QVulkanWindowRenderer

Number of missing types: 14

Number of missing types that are present in PyQt5: 7

QtMultimedia

Documentation link: http://doc.qt.io/qt-5/qtmultimedia-module.html

Number of types in QtMultimedia: 48

Missing types in QtMultimedia:

QAbstractPlanarVideoBuffer
QAudioBuffer.StereoFrame
QAudioSystemPlugin
QMediaMetaData (is present in PyQt5)

Number of missing types: 4

Number of missing types that are present in PyQt5: 1

QtMultimediaWidgets

Documentation link: http://doc.qt.io/qt-5/qtmultimediawidgets-module.html

Number of types in QtMultimediaWidgets: 4

Number of missing types: 0

QtNetwork

Documentation link: http://doc.qt.io/qt-5/qtnetwork-module.html

Number of types in QtNetwork: 51

Missing types in QtNetwork:

QDtlsClientVerifier
QDtlsClientVerifier.GeneratorParameters
QHttp2Configuration (is present in PyQt5)
QSctpServer
QSctpSocket
QSslEllipticCurve (is present in PyQt5)

Number of missing types: 6

Number of missing types that are present in PyQt5: 2

QtQml

Documentation link: http://doc.qt.io/qt-5/qtqml-module.html

Number of types in QtQml: 25

Missing types in QtQml:

QQmlContext.PropertyPair (is present in PyQt5)
QQmlEngineExtensionPlugin (is present in PyQt5)
QQmlListProperty (is present in PyQt5)

Number of missing types: 3

Number of missing types that are present in PyQt5: 3

QtQuick

Documentation link: http://doc.qt.io/qt-5/qtquick-module.html

Number of types in QtQuick: 46

Missing types in QtQuick:

QQuickItem.ItemChangeData (is present in PyQt5)
QQuickWindow.GraphicsStateInfo
QSGFlatColorMaterial (is present in PyQt5)
QSGImageNode (is present in PyQt5)
QSGMaterial (is present in PyQt5)
QSGMaterialRhiShader (is present in PyQt5)
QSGMaterialRhiShader.GraphicsPipelineState (is present in PyQt5)
QSGMaterialShader (is present in PyQt5)
QSGMaterialShader.RenderState (is present in PyQt5)
QSGOpaqueTextureMaterial (is present in PyQt5)
QSGRectangleNode (is present in PyQt5)
QSGRenderNode (is present in PyQt5)
QSGRendererInterface (is present in PyQt5)
QSGTexture.NativeTexture (is present in PyQt5)
QSGTextureMaterial (is present in PyQt5)
QSGVertexColorMaterial (is present in PyQt5)

Number of missing types: 16

Number of missing types that are present in PyQt5: 15

QtQuickWidgets

Documentation link: http://doc.qt.io/qt-5/qtquickwidgets-module.html

Number of types in QtQuickWidgets: 1

Number of missing types: 0

QtSql

Documentation link: http://doc.qt.io/qt-5/qtsql-module.html

Number of types in QtSql: 15

Number of missing types: 0

QtTest

Documentation link: http://doc.qt.io/qt-5/qttest-module.html

Number of types in QtTest: 5

Missing types in QtTest:

QAbstractItemModelTester (is present in PyQt5)
QSignalSpy (is present in PyQt5)
QTestEventList

Number of missing types: 3

Number of missing types that are present in PyQt5: 2

QtWidgets

Documentation link: http://doc.qt.io/qt-5/qtwidgets-module.html

Number of types in QtWidgets: 200

Missing types in QtWidgets:

QFormLayout.TakeRowResult (is present in PyQt5)
QMacCocoaViewContainer
QMacNativeWidget

Number of missing types: 3

Number of missing types that are present in PyQt5: 1

Qt3DCore

Documentation link: http://doc.qt.io/qt-5/qt3dcore-module.html

Number of types in Qt3DCore: 38

Missing types in Qt3DCore:

Qt3DAnimation.QChannelMappingCreatedChangeBase
Qt3DCore.QBackendNodeMapper
Qt3DCore.QNodeCreatedChange
Qt3DCore.Quick
Qt3DCore.Quick.QQmlAspectEngine

Number of missing types: 5

Number of missing types that are present in PyQt5: 0

Qt3DInput

Documentation link: http://doc.qt.io/qt-5/qt3dinput-module.html

Number of types in Qt3DInput: 26

Missing types in Qt3DInput:

Qt3DInput.QAbstractPhysicalDeviceProxy
Qt3DInput.QInputDeviceIntegration
Qt3DInput.QPhysicalDeviceCreatedChangeBase

Number of missing types: 3

Number of missing types that are present in PyQt5: 0

Qt3DLogic

Documentation link: http://doc.qt.io/qt-5/qt3dlogic-module.html

Number of types in Qt3DLogic: 4

Missing types in Qt3DLogic:

Qt3DLogic.Logic

Number of missing types: 1

Number of missing types that are present in PyQt5: 0

Qt3DRender

Documentation link: http://doc.qt.io/qt-5/qt3drender-module.html

Number of types in Qt3DRender: 120

Missing types in Qt3DRender:

Qt3DRender.QDepthRange
Qt3DRender.QRasterMode
Qt3DRender.QSubtreeEnabler
Qt3DRender.QTextureDataUpdate
Qt3DRender.Render

Number of missing types: 5

Number of missing types that are present in PyQt5: 0

Qt3DAnimation

Documentation link: http://doc.qt.io/qt-5/qt3danimation-module.html

Number of types in Qt3DAnimation: 27

Missing types in Qt3DAnimation:

Qt3DAnimation.QAnimationClipData
Qt3DAnimation.QCallbackMapping
Qt3DAnimation.QChannel
Qt3DAnimation.QChannelMapper
Qt3DAnimation.QChannelMapping
Qt3DAnimation.QClipBlendNodeCreatedChangeBase
Qt3DAnimation.QClipBlendValue

Number of missing types: 7

Number of missing types that are present in PyQt5: 0

Qt3DExtras

Documentation link: http://doc.qt.io/qt-5/qt3dextras-module.html

Number of types in Qt3DExtras: 47

Number of missing types: 0

QtConcurrent

Documentation link: http://doc.qt.io/qt-5/qtconcurrent-module.html

Could not load PyQt5.QtConcurrent for comparison. Received error: module PyQt5 has no attribute QtConcurrent.

Number of types in QtConcurrent: 1

Number of missing types: 0

QtHelp

Documentation link: http://doc.qt.io/qt-5/qthelp-module.html

Number of types in QtHelp: 16

Number of missing types: 0

QtLocation

Documentation link: http://doc.qt.io/qt-5/qtlocation-module.html

Number of types in QtLocation: 42

Missing types in QtLocation:

QGeoJson
QGeoRouteLeg (is present in PyQt5)
QLocation (is present in PyQt5)

Number of missing types: 3

Number of missing types that are present in PyQt5: 2

QtPrintSupport

Documentation link: http://doc.qt.io/qt-5/qtprintsupport-module.html

Number of types in QtPrintSupport: 8

Number of missing types: 0

QtScxml

Documentation link: http://doc.qt.io/qt-5/qtscxml-module.html

Could not load PyQt5.QtScxml for comparison. Received error: module PyQt5 has no attribute QtScxml.

Number of types in QtScxml: 21

Number of missing types: 0

QtSvg

Documentation link: http://doc.qt.io/qt-5/qtsvg-module.html

Number of types in QtSvg: 4

Number of missing types: 0

QtUiTools

Documentation link: http://doc.qt.io/qt-5/qtuitools-module.html

Could not load PyQt5.QtUiTools for comparison. Received error: module PyQt5 has no attribute QtUiTools.

Number of types in QtUiTools: 1

Number of missing types: 0

QtWebChannel

Documentation link: http://doc.qt.io/qt-5/qtwebchannel-module.html

Number of types in QtWebChannel: 2

Number of missing types: 0

QtWebEngine

Documentation link: http://doc.qt.io/qt-5/qtwebengine-module.html

Number of types in QtWebEngine: 3

Missing types in QtWebEngine:

QQuickWebEngineProfile (is present in PyQt5)
QQuickWebEngineScript (is present in PyQt5)

Number of missing types: 2

Number of missing types that are present in PyQt5: 2

QtWebEngineCore

Documentation link: http://doc.qt.io/qt-5/qtwebenginecore-module.html

Number of types in QtWebEngineCore: 13

Missing types in QtWebEngineCore:

QWebEngineClientCertificateStore (is present in PyQt5)
QWebEngineCookieStore.FilterRequest (is present in PyQt5)
QWebEngineFindTextResult (is present in PyQt5)
QWebEngineNotification (is present in PyQt5)
QWebEngineQuotaRequest (is present in PyQt5)
QWebEngineRegisterProtocolHandlerRequest (is present in PyQt5)

Number of missing types: 6

Number of missing types that are present in PyQt5: 6

QtWebEngineWidgets

Documentation link: http://doc.qt.io/qt-5/qtwebenginewidgets-module.html

Number of types in QtWebEngineWidgets: 13

Missing types in QtWebEngineWidgets:

QWebEngineClientCertificateSelection (is present in PyQt5)

Number of missing types: 1

Number of missing types that are present in PyQt5: 1

QtWebSockets

Documentation link: http://doc.qt.io/qt-5/qtwebsockets-module.html

Number of types in QtWebSockets: 5

Number of missing types: 0

QtMacExtras

Documentation link: http://doc.qt.io/qt-5/qtmacextras-module.html

Could not load PySide2.QtMacExtras. Received error: module PySide2 has no attribute QtMacExtras. Skipping.

QtX11Extras

Documentation link: http://doc.qt.io/qt-5/qtx11extras-module.html

Number of types in QtX11Extras: 1

Number of missing types: 0

QtWinExtras

Documentation link: http://doc.qt.io/qt-5/qtwinextras-module.html

Could not load PySide2.QtWinExtras. Received error: module PySide2 has no attribute QtWinExtras. Skipping.

QtXml

Documentation link: http://doc.qt.io/qt-5/qtxml-module.html

Number of types in QtXml: 17

Number of missing types: 0

QtXmlPatterns

Documentation link: http://doc.qt.io/qt-5/qtxmlpatterns-module.html

Number of types in QtXmlPatterns: 16

Missing types in QtXmlPatterns:

QSimpleXmlNodeModel (is present in PyQt5)

Number of missing types: 1

Number of missing types that are present in PyQt5: 1

QtCharts

Documentation link: http://doc.qt.io/qt-5/qtcharts-module.html

Number of types in QtCharts: 48

Number of missing types: 0

QtDataVisualization

Documentation link: http://doc.qt.io/qt-5/qtdatavisualization-module.html

Number of types in QtDataVisualization: 36

Missing types in QtDataVisualization:

QtDataVisualization

Number of missing types: 1

Number of missing types that are present in PyQt5: 0

QtOpenGL

Documentation link: http://doc.qt.io/qt-5/qtopengl-module.html

Number of types in QtOpenGL: 1

Number of missing types: 0

QtPositioning

Documentation link: http://doc.qt.io/qt-5/qtpositioning-module.html

Number of types in QtPositioning: 17

Missing types in QtPositioning:

QGeoPositionInfoSourceFactoryV2

Number of missing types: 1

Number of missing types that are present in PyQt5: 0

QtRemoteObjects

Documentation link: http://doc.qt.io/qt-5/qtremoteobjects-module.html

Number of types in QtRemoteObjects: 13

Missing types in QtRemoteObjects:

QRemoteObjectPendingReply
QtROClientFactory
QtROServerFactory

Number of missing types: 3

Number of missing types that are present in PyQt5: 0

QtScriptTools

Documentation link: http://doc.qt.io/qt-5/qtscripttools-module.html

Could not load PyQt5.QtScriptTools for comparison. Received error: module PyQt5 has no attribute QtScriptTools.

Number of types in QtScriptTools: 1

Number of missing types: 0

QtSensors

Documentation link: http://doc.qt.io/qt-5/qtsensors-module.html

Number of types in QtSensors: 70

Missing types in QtSensors:

QSensorGesture

Number of missing types: 1

Number of missing types that are present in PyQt5: 0

QtSerialPort

Documentation link: http://doc.qt.io/qt-5/qtserialport-module.html

Number of types in QtSerialPort: 2

Number of missing types: 0

Summary

Total number of missing types: 128

Total number of missing types that are present in PyQt5: 52

Total number of missing modules: 2