New Classes and Functions in Qt 5.8

This page contains a comprehensive list of all new classes and functions introduced in Qt 5.8. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.

New Classes

New Member Functions

Class QLibraryInfo:


Class QMetaEnum:

isScoped() const

Class QTimer:

intervalAsDuration() const
remainingTimeAsDuration() const
singleShot(msec, timerType, receiver, member)
singleShot(msec, receiver, member)
start(msec)

Class QMutex:

try_lock()
try_lock_for(duration)
try_lock_until(timePoint)

Class QWaitCondition:


Class QCommandLineOption:

flags() const
setFlags(flags)

Class QDateTime:

currentSecsSinceEpoch()
fromSecsSinceEpoch(secs, spec, offsetSeconds)
fromSecsSinceEpoch(secs, timeZone)
setSecsSinceEpoch(secs)
toSecsSinceEpoch() const

Class QLine:

center() const

Class QLineF:

center() const

Class QPointF:

fromCGPoint(point)
toCGPoint() const

Class QPoint:

toCGPoint() const

Class QRect:

toCGRect() const

Class QRectF:

fromCGRect(rect)
toCGRect() const

Class QSize:

toCGSize() const

Class QSizeF:

fromCGSize(size)
toCGSize() const

Class QLatin1String:

at(pos) const
left(length) const
mid(start) const
mid(start, length) const
operator[](pos) const
right(length) const

Class QStringRef:

chop(n)
compare(other, cs) const

Class QStringList:

join(separator) const

Class TouchPoint:

rotation() const
uniqueId() const

Class QOpenGLContext:

getProcAddress(procName) const

Class QPlatformTheme:

virtual fileIcon(fileInfo, iconOptions) const

Class QColor:


Class QRegion:

begin() const
cbegin() const
cend() const
crbegin() const
crend() const
end() const
rbegin() const
rend() const

Class QAbstractTextDocumentLayout:

formatAt(pos) const
imageAt(pos) const

Class QFontMetrics:

capHeight() const

Class QFontMetricsF:

capHeight() const

Class QRawFont:

capHeight() const

Class QNetworkAccessManager:

sendCustomRequest(request, verb, multiPart)
sendCustomRequest(request, verb, data)

Class QHostAddress:

isEqual(other, mode) const
operator=(address)
setAddress(address)

Class QNetworkProxyFactory:


Class QSslConfiguration:


Class QFormLayout:

removeRow(layout)
removeRow(widget)
removeRow(row)
takeRow(layout)
takeRow(widget)
takeRow(row)

Class QUndoStack:


Class QMainWindow:


New Functions in Namespaces

New Global Functions

operator!=(lhs, rhs)
operator!=(, rhs)
operator!=(, rhs)
operator!=(, rhs)
operator!=(lhs, )
operator!=(lhs, )
operator!=(lhs, )
operator<<(debug, dhparam)
operator==(lhs, rhs)
operator==(lhs, rhs)
operator==(, rhs)
operator==(, rhs)
operator==(, rhs)
operator==(lhs, )
operator==(lhs, )
operator==(lhs, )
qHash(dhparam, seed)
qHash(font, seed)
qHash(key, seed)
qHash(key, seed)
qHash(key, seed)

New Macros

New Enum Types

enum ConversionModeFlag { ConvertV4MappedToIPv4, ConvertV4CompatToIPv4, ConvertUnspecifiedAddress, ConvertLocalHost, TolerantConversion, StrictConversion }

New Typedefs

New Properties

Additions to Other Qt 5 Releases