Qt 5.8 | Obsolete Classes

Qt 5.8.0 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

S
  QSGSimpleRectNode
  QSGSimpleTextureNode

## 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
  QAttribute (Qt3DRender)

B
  QBitmap
  QByteArray

C
  QCamera
  QChar
  QColor
  QColorDialog
  QComboBox
  QCoreApplication

D
  QDBusConnection
  QDBusConnectionInterface
  QDataStream
  QDate
  QDateTime
  QDesignerFormWindowManagerInterface
  QDesktopServices
  QDesktopWidget
  QDialog
  QDir
  QDrag

E
  QEasingCurve

F
  QFile
  QFileDialog
  QFileInfo
  QFont
  QFontDatabase
  QFontInfo
  QFontMetrics

G
  QGlobalStatic
  QGraphicsItem
  QGraphicsScene
  QGraphicsSvgItem
  QGraphicsView

H
  QHeaderView
  QHelpSearchEngine

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

O
  QObject
  QOpenGLFunctions
  QOpenGLTexture

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

Q
  QQuaternion
  QQuickPaintedItem
  QQuickWindow

R
  QRect
  QRectF
  QRegion
  QResource

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

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

U
  QUrl

V
  QVariant

W
  QWeakPointer
  QWebFrame
  QWebHitTestResult
  QWebView
  QWheelEvent
  QWidget

X
  QXmlReader