-
ClassDescriptionUse Qt3DExtras::QMetalRoughMaterialUse QXmlStreamReaderUse QXmlStreamReader
-
FieldDescriptionUse QProcess::errorOccurred(QProcess::ProcessError) insteadUse documentActivated() insteadUse documentsActivated() insteadUse QAbstractSocket::errorOccurred(QAbstractSocket::SocketError) insteadUse QLocalSocket::errorOccurred(QLocalSocket::LocalSocketError) insteadUse QNetworkReply::errorOccurred(QNetworkReply::NetworkError) insteadUse completed insteadUse QGuiApplication::primaryScreenChanged()Use QScreen::geometryChanged()Use QGuiApplication::screenAdded/Removed()Use QScreen::availableGeometryChanged()
-
MethodDescriptionUse QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use QString's toUtf8(), toLatin1() or toLocal8Bit()Use flags() and HiddenFromHelpUse setFlags() with HiddenFromHelpUse
QDataStream.setDevice(io.qt.core.QIODevice)
withnull
insteadUse QLocale::dayName or QLocale::standaloneDayNameUse QLocale::dayName or QLocale::standaloneDayNameUse QLocale::monthName or QLocale::standaloneMonthNameUse QLocale::monthName or QLocale::standaloneMonthNameUse QLocale::dayName or QLocale::standaloneDayNameUse QLocale::dayName or QLocale::standaloneDayNameUse QLocale::monthName or QLocale::standaloneMonthNameUse QLocale::monthName or QLocale::standaloneMonthNameUse QLocale or omit the calendarUseQDateTime.setOffsetFromUtc(int)
insteadUseQDateTime.offsetFromUtc()
insteadUse either birthTime() or metadataChangeTime()Use CBOR format insteadUse CBOR format insteadUse CBOR format insteadUse CBOR format insteadUse CBOR format insteadUse CBOR format insteadUse qMin(l1.angleTo(l2), l2.angleTo(l1)) insteadCalendar is ignored when parsing timesCalendar is ignored when parsing timesUse QProcess::execute(const QString &program, const QStringList &arguments) insteadUse QProcess::finished(int, QProcess::ExitStatus) insteadUse QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) insteadUse QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) insteadUse QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) insteadUse QProcess::startDetached(const QString &program, const QStringList &arguments) insteadUseQResource.compressionAlgorithm()
insteadUseQDir.searchPaths(java.lang.String)
insteadUse QSignalMapper::mappedInt(int) insteadUse QSignalMapper::mappedObject(QObject *) insteadUse QSignalMapper::mappedWidget(QWidget *) insteadUse QSignalMapper::mappedString(const QString&) insteaduse tryTake(), but note the different deletion rulesUse QElapsedTimer insteadUse QElapsedTimer insteadUse QElapsedTimer insteadAccess easingCurve directlyAccess easingCurve directlyThis function no longer works, use QDBusContext insteadUseQFontMetrics.horizontalAdvance(char)
insteadUseQFontMetrics.horizontalAdvance(char)
insteadUseQFontMetrics.horizontalAdvance(char)
insteadUseQFontMetrics.horizontalAdvance(char)
insteadUse convertToFormat(QImage::Format_Alpha8)UseQImage.sizeInBytes()
insteadUse QColorSpace insteadUse QColorSpace insteadUse QColorSpace insteadUse QColorSpace insteadUse pageLayout().margins() instead.Use pageLayout().pageSize().id() instead.Use pageLayout().pageSize() instead.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.Use setPageSize(QPageSize) instead.Use setPageSize(QPageSize) instead.Use pageLayout().margins() instead.Use pageLayout().pageSize().id() instead.Use pageLayout().pageSize() instead.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.Use setPageSize(QPageSize) instead.Use setPageSize(QPageSize) instead.Use drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUse drawRoundedRect(..., Qt::RelativeSize) insteadUseQPainter.begin(io.qt.gui.QPaintDevice)
insteadUseQPainter.worldMatrixEnabled()
insteadUseQPainter.resetTransform()
insteadUseQPainter.setWorldMatrixEnabled(boolean)
insteadUse addRoundedRect(..., Qt::RelativeSize) insteadUse addRoundedRect(..., Qt::RelativeSize) insteadUse addRoundedRect(..., Qt::RelativeSize) insteadUse addRoundedRect(..., Qt::RelativeSize) insteadUse r.subtracted() insteadUseQPalette.window()
insteadUseQPalette.windowText()
insteadUse pageLayout().margins() instead.Use pageLayout().pageSize().id() instead.Use pageLayout().pageSize() instead.Use setPageMargins(QMarginsF(l, t, r, b), QPageLayout::Millimeter) insteadUse setPageSize(QPageSize(id)) insteadUse setPageSize(QPageSize(size, QPageSize::Millimeter)) insteadUse begin()/end() insteadUseQTabletEvent.deviceType()
insteaduse globalPosF().x()use globalPosF().y()UseQTextLayout.formats()
insteadUseQTextLayout.clearFormats()
insteadUseQTextLayout.setFormats(java.util.Collection)
insteadUse pos() and ellipseDiameters()Use scenePos() and ellipseDiameters()Use screenPos() and ellipseDiameters()Use setPos() and setEllipseDiameters()Use setScenePos() and setEllipseDiameters()Use setScreenPos() and setEllipseDiameters()UseQTransform.determinant()
insteadUseQWheelEvent.angleDelta()
insteadUseQWheelEvent.globalPosition()
insteadUseQWheelEvent.globalPosition()
insteadUseQWheelEvent.globalPosition()
insteadUseQWheelEvent.globalPosition()
insteadUseQWheelEvent.angleDelta()
insteadUseQWheelEvent.position()
insteadUseQWheelEvent.position()
insteadUseQWheelEvent.position()
insteadUseQWheelEvent.position()
insteadUse NSApp.dockTile.badgeLabelUse NSApp.dockTile.badgeLabelUseQMediaContent.request()
insteadUse QMediaContent::request().url()io.qt.network.QNetworkAccessManager.setNetworkAccessible(QNetworkAccessManager.NetworkAccessibility) QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkConfiguration support in QNetworkProxy is deprecatedUse the overload not using QRegExpUseQSslConfiguration.caCertificates()
insteadUseQSslConfiguration.ciphers()
insteadUseQSslSocket.sslHandshakeErrors()
insteadUseQSslConfiguration.supportedCiphers()
insteadUseQSslConfiguration.systemCaCertificates()
insteadUse copyCount() instead.Use duplex() instead.Use pageLayout().margins() instead.Use pageLayout().margins() instead.Use copyCount() instead.Use pageLayout().orientation() instead.Use pageLayout().paintRectPixels(resolution()) instead.Use pageLayout().pageSize().id() instead.Use pageLayout().pageSize() instead.Use pageLayout().pageSize().name() instead.Use pageLayout().fullRectPixels(resolution()) instead.pageLayout().pageSize().id()Use pageLayout().pageSize().size() or pageLayout().fullPageSize() instead.Use setDuplex() instead.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.Use setCopyCount() instead.Use setPageOrientation() instead.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.Use setPageSize(QPageSize) instead.Use setPageSize(QPageSize) instead.Use setPageSize(QPageSize) instead.Use setPageSize(QPageSize) instead.Use setPageSize(QPageSize) instead.Use QPageSize::id(windowsId) and setPageLayout(QPageSize) instead.Use pageLayout.pageSize().windowsId() instead.Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, boolUse qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, boolUse qmlRegisterExtendedType(type, uri, versionMajor) insteadUse qmlRegisterInterface(Class<? extends io.qt.QtObjectInterface> type, String uri, int versionMajor)Use qmlRegisterAnonymousType insteadUse the overload with no id parameterUseQRenderCaptureReply.saveImage(java.lang.String)
insteadUse createTextureFromNativeObject() insteadUse createTextureFromNativeObject() insteadUse createTextureFromNativeObject() insteadQSGAbstractRenderer is no longer going to be public in Qt 6.0. QSGEngine-based workflows are expected to migrate to QQuickRenderControl instead.QSGEngine is going to be removed in Qt 6.0. Use QQuickRenderControl instead.Use the 3-args version of notification() instead.Use downloadDirectory() and downloadFileName() insteadUse setDownloadDirectory() and setDownloadFileName() insteadUseQWebSocketServer.setNativeDescriptor(long)
insteadUseQWebSocketServer.nativeDescriptor()
insteadUse QButtonGroup::idClicked(int) insteadUse QButtonGroup::idPressed(int) insteadUse QButtonGroup::idReleased(int) insteadUse QButtonGroup::idToggled(int, bool) insteadUse textActivated() insteadUse currentIndexChanged(int) instead, and get the text using itemText(index)Use textHighlighted() insteadUseQGuiApplication.screens()
insteadUseQGuiApplication.screens()
insteadUseQGuiApplication.screenAt(io.qt.core.QPoint)
insteadUse QScreen::virtualSiblings() of primary screenUseQGuiApplication.screens()
insteadUseQGuiApplication.primaryScreen()
insteadUse QScreenUseQGuiApplication.screens()
insteadUseQGuiApplication.screens()
insteadUseQGuiApplication.screens()
insteadUseQGuiApplication.screenAt(io.qt.core.QPoint)
insteadUseQGuiApplication.screenAt(io.qt.core.QPoint)
insteadUse textChanged(QString) insteadUse !testOption(DontConfirmOverwrite) insteadUse !testOption(HideNameFilterDetails) insteadUse !testOption(DontResolveSymlinks) insteadUse setOption(DontConfirmOverwrite, !enabled) insteadUse setOption(HideNameFilterDetails, !enabled) insteadUse setOption(DontResolveSymlinks, !enabled) insteadUse setStep(0) insteadUseQGraphicsView.resetTransform()
insteadUse textChanged(QString) insteadUseQSplitter.restoreState(io.qt.core.QByteArray)
insteadUseQSplitter.saveState()
insteadUse QTextBrowser::highlighted(QUrl) insteadUseQTreeWidgetItem.isFirstColumnSpanned()
insteadUseQTreeWidgetItem.setFirstColumnSpanned(boolean)
insteadUseQWidget.contentsMargins()
insteadUseQWidget.isEnabled()
insteadUseQWizard.visitedIds()
insteadUse other overloads insteadUse other overloads instead
-
ConstructorDescriptioncopy-construction is unsupported; use move-construction insteadUse
QDate.startOfDay(io.qt.core.Qt.TimeSpec, int)
insteadUse the other QTabletEvent constructorUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedUse the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and invertedQNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkConfiguration support in QNetworkProxy is deprecatedio.qt.network.QNetworkProxyQuery(QNetworkConfiguration, short, String, QNetworkProxyQuery.QueryType) QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkConfiguration support in QNetworkProxy is deprecatedUse QFileSystemModelUse QFileSystemModelUse QFileSystemModelUse QFileSystemModelUse the constructor taking a QScreen *Use the constructor taking a QScreen *Use the constructor taking a QScreen *Use the constructor taking a QScreen *
-
Enum ConstantDescriptionObsolete name, use TokelauCountryObsolete name, use TuvaluCountryNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageObsolete name, use RomanianNo locale data for this languageNo locale data for this languageNo locale data for this languageObsolete name, use NorwegianBokmalNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageObsolete name, use SerbianNo locale data for this languageNo locale data for this languageObsolete name, use FilipinoNo locale data for this languageNo locale data for this languageNo locale data for this languageNo locale data for this languageObsolete name, use AkanNo locale data for this languageThis option does not have any effect since Qt 5.12This option does not have any effect since Qt 5.12Use QLocaleUse QLocaleUse QLocaleUse QLocaleUse QLocaleUse QLocaleUse QLocaleMatchRegExp is deprecated. Use MatchRegularExpression insteadMidButton is deprecated. Use MiddleButton insteadWA_ForceAcceptDrops is deprecated. Use WA_DropSiteRegistered insteadUse Antialiasing insteadDefault pen is non-cosmetic nowUse QPalette::Window insteadUse QPalette::WindowText insteadUse RedirectPolicyAttributeUse Http2AllowedAttributeUse Http2WasUsedAttributeUse AdjustToContents or AdjustToContentsOnFirstShowUse setOption(ShowDirsOnly, true) insteadUse ItemTransformChange insteadThis flag is unused