-
FieldDescriptionUse suspending() instead.Handle QEvent::ApplicationFontChange insteadHandle QEvent::ApplicationPaletteChange insteadUse documentActivated() insteadUse documentsActivated() instead
-
MethodDescriptionUse
QXYSeries.points()
insteadUse the QByteArrayView overload insteadUse isSuspending() or isSuspended() instead.Use suspend() instead.Use setSuspended() instead.Use toggleSuspended() instead.Use isSuspending() or isSuspended() instead.Use setSuspended() instead.Use toggleSuspended() instead.Use isSuspending() or isSuspended() instead.Use suspended() instead.Use setSuspended() instead.Use toggleSuspended() instead.UseQMetaType.qMetaTypeId(Class, QMetaType...)
instead.UseQMetaType.qRegisterMetaType(Class, QMetaType...)
instead.Use size() or length() instead.Usenew QUrl("qrc:path")
instead.UseQDataStream.readObject(Class, QMetaType...)
instead.UseQDataStream.readObject(Class, QMetaType...)
instead.UseQDataStream.writeObject(Object)
instead.UseQDataStream.writeObject(Object)
instead.Use typeId() or metaType().Use associatedObjects() with qobject_cast() insteadUse associatedObjects() with qobject_cast() insteadUse parent() with qobject_cast() insteadUse the overload without argument instead.Use the overload without argument instead.UseQDropEvent.modifiers()
insteadUseQDropEvent.buttons()
insteadUse position().toPoint()UseQDropEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.scenePosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadHandle QPaintEvent insteadUseQFont.weight()
insteadUseQFont.setWeight(io.qt.gui.QFont.Weight)
insteadUseQFontInfo.weight()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUse actualSize(size) insteadUse actualSize(size) insteadUse actualSize(size) insteadUse pixmap(size, devicePixelRatio) insteadUse pixmap(size, devicePixelRatio) insteadUse pixmap(size, devicePixelRatio) insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.scenePosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUse globalPosition().toPoint()UseQSinglePointEvent.position()
insteadUse position().toPoint()UseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.scenePosition()
insteadUse parent() and qobject_cast insteadUse setColorSpace(QColorSpace) instead.UseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUse globalPosition().x()Use globalPosition().y()use globalPosition().x()use globalPosition().y()UseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteaduse pointingDevice().uniqueId()Use position().x()Use position().y()UseQTextCharFormat.fontFamilies()
insteadPass a quality value, the default is 100UseQPointerEvent.points()
insteadUseQVideoFrameFormat.colorSpace()
insteadImport the module from QML insteadProvide a qmldir file to remove the need for calling baseUrlUse qWaitForPolish(QQuickItem *) insteadUse qWaitForPolish(QQuickItem *) insteadUseQSqlField.setMetaType(io.qt.core.QMetaType)
insteadUseQSqlField.metaType()
insteadQSqlQuery is not meant to be copied. Pass it by move instead.use an overload that takes function_ref as parameters, or an overload that takes only failure message, if you do not need to stringify the valuesUseQTest.QFETCH(String, Class, io.qt.core.QMetaType...)
instead.Use qWarning() insteadUse qWarning() insteadUse qWarning() insteadDon't use QVERIFY_EXCEPTION_THROWN(expr, type) anymore, use QVERIFY_THROWS_EXCEPTION(type, expr...) insteadUseQWebSocketServer.socketDescriptor()
insteadUseQWebSocketServer.setSocketDescriptor(long)
insteadUse the QFontMetricsF constructor instead.Use the overload taking Qt::AlignmentUse the overload taking Qt::AlignmentUse the overload taking Qt::AlignmentUseQWidget.isWindow()
instead
-
ConstructorDescriptionUse the constructor taking a QMetaType instead.Use fromPixmap instead.Use the other constructorCall the static functions insteadUse the other constructorUse the other constructorUse the other constructorUse another constructorUse another constructorUse the other constructorUse another constructorUse another constructorDrop the QQmlEngine* argumentDrop the QQmlEngine* argumentUse the constructor using a QMetaType insteadUse the constructor using a QMetaType insteadQSqlQuery is not meant to be copied. Use move construction instead.
-
Enum ConstantDescriptionDiscoveringService was renamed to RemoteServiceDiscovering.DiscoveryRequired was renamed to RemoteService.ServiceDiscovered was renamed to RemoteServiceDiscovered.Not supported anymore. Use PerformanceCounter instead.Use RelocatableType instead.Use AnchorAtOffsetMatchOption instead"High-DPI scaling is always enabled. " \ This attribute no longer has any effect."High-DPI scaling is always enabled. " \ This attribute no longer has any effect."High-DPI pixmaps are always enabled. " \ This attribute no longer has any effect.Use DtlsV1_2OrLater instead.Use DtlsV1_2OrLater instead.Use TlsV1_2OrLater instead.Use TlsV1_2OrLater instead.Use TlsV1_2OrLater instead.Use TlsV1_2OrLater instead.Use CompareNotEqual instead."Qt 6 does not have custom shader compilation support. If the intention is to just disable batching, use NoBatching instead."