Qt 5.2 Release
Qt Everywhere | Desktop, Embedded and Mobile
Qt 5.2 is the latest version of Qt, the leading cross-platform application and UI software development framework. With Qt 5.2 we are proudly introducing the production-ready versions of Qt ports on Android and iOS completing our Qt Everywhere message: Qt applications run natively on all major desktop, embedded and mobile platforms!
Introducing Qt 5.2 Quick Forecast Application
Qt 5.2 brings Qt to the largest mobile platforms, Android and iOS, and Qt applications can now run natively on all major desktop, embedded and mobile platforms. Qt 5.2 provides developers with great opportunities to be at the forefront of the global mobile markets:
- Enterprise Mobility. Take your existing desktop or embedded application/services also to the largest mobile platforms by simply reusing your desktop/embedded code or re-scaling the UI to a small-screen layout. Eg. write a mobile client for your enterprise backend systems.
- Bring Your Own Device (BYOD). Make an embedded device UI that can also be taken directly to your end users' phones or tablets. Automotive entertainment, remote controls, internet of things...
- Cross-Platform Consumer Applications. Target the majority of devices out there with one code base using Qt. All major OSs and versions, phones, tablets. For mobile consumer app creation, we're specifically introducing a new, mobile-only tailored offering, Qt Mobile, with a flexible, subscription based license type.
- Multiscreen applications. Qt applications can be designed to run everywhere: Desktop PCs, tablets, phones and separate embedded devices. With Qt Cloud Services you retain an un-interrupted user experience between the devices.
Most of the Qt APIs are supported in Qt 5.2 both on Android and iOS. Since these are new platforms, there are, however, some exceptions. Qt WebKit is not yet supported on these platforms (Qt WebKit can’t be brought to iOS due to App Store policies), but we are working on bringing an easy way to embed web content via Qt APIs to these mobile platforms in the future. In the meantime, we recommend the use of native web elements. For Android, there's a new Android extras module with a convenience API for Android JNI usage.
Qt on desktop operating systems is the heart of Qt and has served as a stepping stone for the immense breadth of our operating system support throughout the years. That said a lot of improvements have happened with Qt 5.2 that are mainly targeting the desktop operating systems.
- The Qt Quick Controls that were introduced for desktop in Qt 5.1 have received a lot of improvements and a couple of new control types.
- Accessibility is now fully supported on all desktop platforms (and Android).
- With Qt Windows Extras and Qt Mac Extras modules we are providing APIs to integrate better with native OS code.
- Improved time zone and locale support with QTimeZone and QCollator
- The Qt Widgets have also received multiple enhancements and a completely new class: QKeySequenceEdit
- Bluetooth is now supported on Linux with the new Qt Bluetooth API
New Scene Graph renderer. This new renderer improves the graphics performance of Qt Quick even further, freeing up more CPU time for the application and using the GPU in a much more efficient way. Read more from this blog post.
- Qt Positioning API. Supported on all platforms using NMEA data, and using GeoClue on Linux
- Qt Bluetooth API. Supported on Linux with Bluez 4.x and BlackBerry
- Animations for QML that can not be blocked by high loads on the main thread
- Additional mobile-specific controls for Qt Quick Controls
- Qt WebKit has also received a major update now being based on a WebKit version from summer 2013. This includes many new features such CSS Blending, Geolocation, Web Notifications and a threaded garbage collector.
The QML Flickr example, with Qt Positioning showing pictures nearby the user location
Qt 5.2 ships together with the new Qt Creator 3.0. The new Qt Creator improves support on mobile platforms and a stable plugin API. This will create a foundation for 3rd party plugin extensions for Qt Creator, something we’re looking forward to expanding more in the future.
Resources for Qt 5.2
Get Cross-Platform Qt Applications to your mobile device, and try them out yourself!
A Qt Quick 2 and Qt Quick Controls based weather application with an automatically resizing UI layout.
Qt Quick 2 based game. Take to the drivers seat of the Flying Bus.
The objective of the game is to get your bus to traverse obstacles by inflating and popping balloons to gain and lose altitude. Who needs roads anyway?
Find out more about these Qt apps in our blog post.