- Qt 6.10
- Qt Reference Pages
- All C++ Classes
- Obsolete Classes
- Qt 6.10.1 Reference Documentation

Groups Of Related Classes ◦ Inheritance Hierarchy

# Obsolete Classes

## Qt modules that are deprecated

The following Qt modules are now obsolete. They are provided to keep old source code working, but they are no longer maintained, and can be removed in a future major Qt release. We advise against using these modules in new code. Each obsolete module comes with documentation that helps with porting existing code to new and actively maintained alternatives.

Obsolete module | New module | Migration guide
--- | --- | ---
Qt 3D | Qt Quick 3D | Porting Qt 3D to Qt Quick 3D: A Migration Guide
Qt Charts | Qt Graphs | Qt Graphs Migration from Qt Charts
Qt Data Visualization | Qt Graphs | Qt Graphs Migration from Qt DataVisualization

## C++ classes that are deprecated

The following Qt C++ classes are now obsolete. Obsolete classes are no longer maintained. They are provided to keep old source code working, but they can be removed in a future release. We strongly advise against using these classes in new code.

D
  QDiffuseMapMaterial (Qt3DExtras)
  QDiffuseSpecularMapMaterial (Qt3DExtras)

G
  QGeoServiceProviderFactory
  QGraphicsItemAnimation

H
  QHelpSearchQuery

N
  QNormalDiffuseMapAlphaMaterial (Qt3DExtras)
  QNormalDiffuseMapMaterial (Qt3DExtras)
  QNormalDiffuseSpecularMapMaterial (Qt3DExtras)

P
  QPhongAlphaMaterial (Qt3DExtras)
  QPhongMaterial (Qt3DExtras)

W
  QWebEngineQuotaRequest

## C++ classes that contain deprecated members

The following Qt C++ classes contain one or more members that are now obsolete. Obsolete members are no longer maintained. They are provided to keep old source code working, but they can be removed in a future release. We strongly advise against using these obsolete members in new code. Click on a class to see its deprecated members.

A
  QAbstractEventDispatcher
  QAbstractItemView
  QAction
  QAnyStringView
  QApplication
  QAxFactory

B
  Binding (QQmlSA)
  QBasicTimer
  QBitmap
  QByteArray
  QByteArrayView

C
  QCamera (Qt3DRender)
  QChart
  QCheckBox
  QColor
  QContextMenuEvent
  QCryptographicHash
  QCursor

D
  QDate
  QDateTime
  QDateTimeEdit
  QDBusConnection
  QDBusConnectionInterface
  QDesignerFormWindowManagerInterface
  QDomDocument
  QDropEvent

E
  QEnterEvent
  QEventPoint
  QExposeEvent

F
  QFileOpenEvent
  QFont
  QFontDatabase
  QFontInfo
  QForwardRenderer (Qt3DExtras)
  QFuture
  QFutureWatcher

G
  QGlobalStatic
  QGraphicsItem
  QGraphicsScene
  QGraphicsSvgItem
  QGraphicsView
  QGuiApplication

H
  QHash
  QHelpEngineCore
  QHelpIndexWidget
  QHelpSearchEngine
  QHelpSearchQueryWidget
  QHoverEvent

I
  QIcon

J
  QJniEnvironment
  QJSValue

K
  QKeyCombination

L
  QLabel
  QLibraryInfo
  QLineF
  QList
  QListWidgetItem
  QLocale

M
  QMatrix4x4
  QMediaRecorder
  QMenu
  QMessageBox
  QMetaMethod
  QMetaObject
  QMetaProperty
  QMetaType
  QMouseEvent
  QMultiMap

N
  QNativeGestureEvent
  QNetworkAccessManager
  QNetworkInformation

O
  QOAuth2AuthorizationCodeFlow
  QObject

P
  QPalette
  QPixmapCache
  QProcess

Q
  QQmlEngine
  QQmlFileSelector
  QQmlListProperty
  QQmlListReference
  QQuickItem
  QQuickPaintedItem
  QQuickWindow

R
  QRegion
  QRegularExpression
  QRenderCapture (Qt3DRender)

S
  QScopedArrayPointer
  QScopedPointer
  QShortcut
  QShortcutEvent
  QSocketNotifier
  QSqlDatabase
  QSqlField
  QSqlQuery
  QSqlQueryModel
  QStateMachine
  QString
  QStringView
  QStyle
  QStyleHints
  QSurfaceFormat

T
  QTabletEvent
  QTableWidgetItem
  QTextCharFormat
  QTextCodec
  QTimer
  QTimeZone
  QTouchEvent
  QTreeWidgetItem

U
  QUtf8StringView

V
  QVariant
  QVarLengthArray
  QVideoFrame
  QVideoFrameFormat
  QVirtualKeyboardInputContext

W
  QWebEnginePage
  QWebSocket
  QWebSocketServer
  QWheelEvent
  QWidget

X
  QXmlReader
  QXYSeries

Groups Of Related Classes ◦ Inheritance Hierarchy