Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.3.0
-
None
-
9c37876d6f (pyside/pyside-setup/dev) 9c37876d6f (pyside/tqtc-pyside-setup/dev), da9081d40 (dev), 67a8f157e (dev)
Description
When searching for
"Q_.*_EXPORT .* qHash\("
in Qt's source code, all results should be hashable from Python. The following types are hashable with PyQt6 (and from C++ with qHash), but not with PySide6:
Qt Core
- QLocale
- QRegularExpression
- QJsonValue
- QVersionNumber
- QMimeType
- QUuid
- QUrlQuery
- QKeyCombination (actually defined in qhashfunctions.h but new in Qt 6)
Qt Gui
- QKeySequence
- QTransform
- QPointingDeviceUniqueId
- QFont
- QRawFont
Qt DBus
- QDBusObjectPath
- QDBusSignature
Qt Widgets
- QSizePolicy
Qt Network
- QSslError
- QSslCertificate
- QOcspResponse
- QSslEllipticCurve
- QSslDiffieHellmanParameters
Qt Positioning
- QGeoAreaMonitorInfo
- QGeoSatelliteInfo
- QGeoAddress
- QOpenGLVersionProfile
- QGeoCoordinate
- QGeoPositionInfo
- QGeoShape
- QGeoLocation
Misc
Untested, judging from source code:
- Qt Quick: QQmlProperty
- Qt MQTT: QMqttTopicName, QMqttTopicFilter
- Qt Connectivity: QNdefRecord
- Qt Quick 3D: QQsbCollection, QSSGShaderFeatures