Obsolete Classes | Qt 5.12

Qt 5.12 | Obsolete Classes

Qt 5.12.6 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.

C
  QCanBusFactory

D
  QDesktopWidget
  QDirModel
  QDiffuseMapMaterial (Qt3DExtras)
  QDiffuseSpecularMapMaterial (Qt3DExtras)

G
  QGLBuffer
  QGLColormap
  QGLContext
  QGLFormat
  QGLFramebufferObject
  QGLFramebufferObjectFormat
  QGLFunctions
  QGLPixelBuffer
  QGLShader
  QGLShaderProgram
  QGLWidget
  QGeoServiceProviderFactory
  QGraphicsItemAnimation

H
  QHelpSearchQuery

M
  QMatrix

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

P
  QPictureFormatPlugin
  QPictureIO
  QPhongAlphaMaterial (Qt3DExtras)
  QPhongMaterial (Qt3DExtras)

S
  QSGSimpleRectNode
  QSGSimpleTextureNode
  QSignalMapper

T
  QTexturedMetalRoughMaterial (Qt3DExtras)

W
  QWaylandXdgPopupV5
  QWaylandXdgShellV5
  QWaylandXdgSurfaceV5

## C++ classes that contain one or more members that are deprecated

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
  QAbstractItemDelegate
  QAbstractItemModel
  QAbstractItemView
  QAbstractPrintDialog
  QAccessible
  QApplication

B
  QBitmap
  QBuffer (Qt3DRender)

C
  QCamera
  QChar
  QChart
  QColor
  QColorDialog
  QComboBox
  QCommandLineOption
  QCoreApplication
  QCamera (Qt3DRender)

D
  QDBusConnection
  QDBusConnectionInterface
  QDataStream
  QDate
  QDateTime
  QDesignerFormWindowManagerInterface
  QDesktopServices
  QDialog
  QDir
  QDrag

E
  QEasingCurve

F
  QFile
  QFileDialog
  QFileInfo
  QFont
  QFontDatabase
  QFontInfo
  QFontMetrics
  QFontMetricsF
  QForwardRenderer (Qt3DExtras)

G
  QGeoShape
  QGlobalStatic
  QGraphicsItem
  QGraphicsScene
  QGraphicsSvgItem
  QGraphicsView

H
  QHeaderView
  QHelpIndexModel
  QHelpSearchEngine
  QHelpSearchQueryWidget

I
  QIcon
  QImage
  QImageIOHandler
  QImageWriter
  QInputDialog
  QItemSelectionRange

J
  QJSEngine
  QJSValue

K
  QKeySequence

L
  QLayout
  QLibraryInfo
  QLineF
  QListWidget
  QListWidgetItem
  QLocale
  QLowEnergyController

M
  QMatrix4x4
  QMediaPlayer
  QMessageBox
  QMetaProperty
  QMetaType
  QModelIndex
  QMouseEvent

N
  QNativeGestureEvent
  QNetworkProxyQuery

O
  QObject
  QOpenGLFunctions
  QOpenGLTexture

P
  QPagedPaintDevice
  QPaintEngineState
  QPainter
  QPainterPath
  QPalette
  QPdfWriter
  QPersistentModelIndex
  QPicture
  QPixmap
  QPixmapCache
  QPlainTextEdit
  QPrinter
  QPrinterInfo
  QProcess

Q
  QQuaternion
  QQuickPaintedItem
  QQuickWindow

R
  QRect
  QRectF
  QRegion
  QResource
  QRenderCapture (Qt3DRender)
  QRenderCaptureReply (Qt3DRender)

S
  QScriptContextInfo
  QScriptEngine
  QScriptValue
  QSerialPort
  QSerialPortInfo
  QSettings
  QSortFilterProxyModel
  QSqlError
  QSslCertificate
  QSslSocket
  QStandardItem
  QStandardPaths
  QString
  QStringRef
  QStyle
  QStyleOption
  QStyleOptionGraphicsItem
  QStyleOptionProgressBar
  QSurfaceFormat
  QSysInfo

T
  QTableView
  QTableWidget
  QTableWidgetItem
  QTabletEvent
  QTemporaryFile
  QTextCharFormat
  QTextCodec
  QTextEdit
  QTextLayout
  QTextList
  QTextOption
  QThreadPool
  QTouchEvent
  QTransform
  QTreeView
  QTreeWidget
  QTreeWidgetItem

U
  QUrl

V
  QVariant
  QVirtualKeyboardInputContext

W
  QWeakPointer
  QWebSocketServer
  QWheelEvent
  QWidget

X
  QXmlReader