- Qt 6.6
- Obsolete Classes
- Qt 6.6.2 Reference Documentation

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

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

B
  QBasicTimer
  QBitmap
  QByteArray
  QByteArrayView

C
  QCamera (Qt3DRender)
  QChart
  QColor
  QContextMenuEvent
  QCryptographicHash
  QCursor

D
  QDate
  QDateTime
  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

K
  QKeyCombination

L
  QLabel
  QLibraryInfo
  QLineF
  QList
  QListWidgetItem
  QLocale

M
  QMatrix4x4
  QMenu
  QMessageBox
  QMetaMethod
  QMetaObject
  QMetaProperty
  QMetaType
  QMouseEvent
  QMultiMap

N
  QNativeGestureEvent
  QNetworkAccessManager
  QNetworkInformation

O
  QObject

P
  QPalette
  QPixmapCache
  QProcess

Q
  QQmlEngine
  QQmlFileSelector
  QQmlListProperty
  QQmlListReference
  QQuickItem
  QQuickPaintedItem
  QQuickWindow

R
  QRegularExpression
  QRenderCapture (Qt3DRender)

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

T
  QTabletEvent
  QTableWidgetItem
  QTextCharFormat
  QTextCodec
  QTimeZone
  QTouchEvent
  QTreeWidgetItem

U
  QUtf8StringView

V
  QVariant
  QVarLengthArray
  QVideoFrameFormat
  QVirtualKeyboardInputContext

W
  QWeakPointer
  QWebEnginePage
  QWebSocket
  QWebSocketServer
  QWheelEvent
  QWidget

X
  QXmlReader
  QXYSeries