Qt 5.13 | Obsolete Classes

Qt 5.13.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
  QDesktopWidget
  QDirModel

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

M
  QMatrix

P
  QPictureFormatPlugin
  QPictureIO

S
  QSignalMapper

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

C
  QChar
  QColor
  QColorDialog
  QComboBox
  QCommandLineOption
  QCoreApplication

D
  QDataStream
  QDate
  QDateTime
  QDBusConnection
  QDBusConnectionInterface
  QDesktopServices
  QDialog
  QDir
  QDrag

E
  QEasingCurve

F
  QFile
  QFileDialog
  QFileInfo
  QFont
  QFontDatabase
  QFontInfo
  QFontMetrics
  QFontMetricsF

G
  QGlobalStatic
  QGraphicsItem
  QGraphicsScene
  QGraphicsView

H
  QHeaderView

I
  QIcon
  QImage
  QImageIOHandler
  QImageWriter
  QInputDialog
  QItemSelectionRange

K
  QKeySequence

L
  QLayout
  QLibraryInfo
  QLineF
  QList
  QListWidget
  QListWidgetItem
  QLocale

M
  QMatrix4x4
  QMenu
  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

R
  QRect
  QRectF
  QRegion
  QResource

S
  QSettings
  QSizePolicy
  QSortFilterProxyModel
  QSplitter
  QSqlError
  QSslCertificate
  QSslSocket
  QStandardItem
  QStandardPaths
  QString
  QStringRef
  QStyle
  QStyleOption
  QStyleOptionDockWidget
  QStyleOptionFrame
  QStyleOptionGraphicsItem
  QStyleOptionProgressBar
  QStyleOptionTab
  QStyleOptionTabBarBase
  QStyleOptionTabWidgetFrame
  QStyleOptionToolBox
  QStyleOptionViewItem
  QSurfaceFormat
  QSysInfo

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

U
  QUrl

V
  QVariant

W
  QWeakPointer
  QWheelEvent
  QWidget

X
  QXmlReader