Obsolete Classes | Qt 5.9

Qt 5.9 | Obsolete Classes

Qt 5.9.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
  QDirModel

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

M
  QMatrix

P
  QPictureFormatPlugin
  QPictureIO

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

C
  QChar
  QColor
  QColorDialog
  QComboBox
  QCommandLineOption
  QCoreApplication

D
  QDBusConnection
  QDBusConnectionInterface
  QDataStream
  QDate
  QDateTime
  QDesktopServices
  QDesktopWidget
  QDialog
  QDir
  QDrag

E
  QEasingCurve

F
  QFile
  QFileDialog
  QFileInfo
  QFont
  QFontDatabase
  QFontInfo
  QFontMetrics

G
  QGlobalStatic
  QGraphicsItem
  QGraphicsScene
  QGraphicsView

H
  QHeaderView

I
  QIcon
  QImage
  QImageIOHandler
  QImageWriter
  QInputDialog
  QItemSelectionRange

K
  QKeySequence

L
  QLayout
  QLibraryInfo
  QLineF
  QListWidget
  QListWidgetItem
  QLocale

M
  QMatrix4x4
  QMessageBox
  QMetaProperty
  QMetaType
  QModelIndex
  QMouseEvent

O
  QObject
  QOpenGLFunctions
  QOpenGLTexture

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

Q
  QQuaternion

R
  QRect
  QRectF
  QRegion
  QResource

S
  QSettings
  QSortFilterProxyModel
  QSqlError
  QSslCertificate
  QSslSocket
  QStandardItem
  QStandardPaths
  QString
  QStringRef
  QStyle
  QStyleOption
  QStyleOptionGraphicsItem
  QStyleOptionProgressBar
  QSurfaceFormat
  QSysInfo

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

U
  QUrl

V
  QVariant

W
  QWeakPointer
  QWheelEvent
  QWidget

X
  QXmlReader