Obsolete Classes | Qt 6.11
Description: C++ classes and members marked obsolete that should not be used in new code.

- Qt 6.11
- Qt Reference Pages
- All C++ Classes
- Obsolete Classes
- Qt 6.11.1 Reference Documentation

Groups Of Related Classes ◦ Inheritance Hierarchy

# Obsolete Classes

## 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.

C
  QColormap

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
  QAbstractOAuth2
  QAction
  QAnyStringView
  QApplication
  QAxFactory

B
  Binding (QQmlSA)
  QBasicTimer
  QBitmap
  QByteArray
  QByteArrayView

C
  QCamera (Qt3DRender)
  QChart
  QCheckBox
  QColor
  QContextMenuEvent
  QCryptographicHash
  QCursor

D
  QDataStream
  QDate
  QDateTime
  QDateTimeEdit
  QDBusConnection
  QDBusConnectionInterface
  QDesignerFormWindowManagerInterface
  QDomDocument
  QDropEvent

E
  QEnterEvent
  QEventPoint
  QExposeEvent

F
  QFileOpenEvent
  qfloat16
  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
  QPointingDevice
  QProcess

Q
  QQmlEngine
  QQmlExtensionPlugin
  QQmlFile
  QQmlFileSelector
  QQmlListProperty
  QQmlListReference
  QQmlPropertyMap
  QQuaternion
  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