New Classes and Functions in Qt 5.2

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

New Namespaces

namespace QtMac

New Classes

New Member Functions

Class QUrl:

fromCFURL(CFURLRef url)
fromNSURL(const NSURL *url)
toCFURL() const
toNSURL() const

Class QString:

fromCFString(CFStringRef string)
fromNSString(const NSString *string)
toCFString() const
toNSString() const

New Enum Types

enum NativeGestureType { BeginNativeGesture, EndNativeGesture, PanNativeGesture, ZoomNativeGesture, ..., SwipeNativeGesture }
enum ScrollPhase { NoScrollPhase, ScrollBegin, ScrollUpdate, ScrollEnd, ScrollMomentum }

New QML Types

Additions to Other Qt 5 Releases