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 Member Functions

Class QBluetoothDeviceDiscoveryAgent:

int lowEnergyDiscoveryTimeout() const
void setLowEnergyDiscoveryTimeout(int timeout)
void start(QBluetoothDeviceDiscoveryAgent::DiscoveryMethods methods)
QBluetoothDeviceDiscoveryAgent::DiscoveryMethods supportedDiscoveryMethods()

Class QLowEnergyController:

QBluetoothUuid remoteDeviceUuid() const

Class QQuickStyle:

void setFallbackStyle(const QString &style)

Class QSerialPort:

void errorOccurred(QSerialPort::SerialPortError error)

Class QWebSocket:

void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator)

Class QWebSocketServer:

void preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator)

New Functions in Namespaces

qreal convertVolume(qreal volume, QAudio::VolumeScale from, QAudio::VolumeScale to)

New Enum Types

enum VolumeScale { LinearVolumeScale, CubicVolumeScale, LogarithmicVolumeScale, DecibelVolumeScale }
enum DiscoveryMethod { NoMethod, ClassicMethod, LowEnergyMethod }

New QML Types

New QML Signals

New QML Methods

Additions to Other Qt 5 Releases