Qt 5.11 Adds Unicode 10 Support
Written by Kay Ewbank   
Thursday, 31 May 2018

Qt 5.11 has been released ahead of schedule with support for Unicode 10 and a rewritten QML compiler pipeline.

Qt is a cross-platform application and UI software development framework that lets you create native apps for desktop, embedded or mobile platforms.

qticon

The rewriting of the QML engine is designed to improve the performance of Qt QML. This is the engine used to run and execute QML, the language used to create Qt Quick based user interfaces. Qt QML does not have any dependencies on graphical things, and in addition to the QML language support, it features a JavaScript engine that is compliant with ECMAScript 5.1.

Because the engine is the foundation of Qt's Quick user interface technology, it is used heavily by many Qt users. There are two parts, of which the compiler pipeline is the part that has been rewritten. This is used to compile QML and ECMAScript down to binary data structures and bytecode/assembly. A runtime then assists in executing the generated code.

The new pipeline always compiles QML to a platform-independent bytecode. The engine will cache this bytecode in .qmlc files, and you can also generate the bytecode ahead of time, using the qmlcompiler feature (which is now also available in the open source version).

The bytecode interpreter has also been rewritten, and has a vastly improved performance over the old version. It reaches around 80-90% of the performance of the JIT in Qt 5.10 in most of the developers' tests. A new hotspot JIT has also been added.

Another area to have been improved is Qt Location. This works with location services and can be used to create mapping apps using the data from location services. In the new release, there's experimental support for turn-by-turn navigation, and an experimental API to create map objects that are not bound to QQuickItems. The Routing and Places API has also been made extensible.

Support for Windows is another area to have received attention. Accessibility support on Windows has been completely rewritten and is now based on Microsoft UI Automation, not on the old Microsoft Active Accessibility framework. The developers have also improved the widget styles on Windows to better support High-DPI displays. The print dialog on Linux has also been improved.

A technology preview of Qt for Webassembly has been released at the same time at the main Qt. The developers say this is a step towards filling the last large gap in Qt's cross-platform support, giving developers a way to target the web and browsers as a platform for Qt applications. The development team are also hard at work on adding Python support for Qt, with an initial release planned for June.

qticon

 

More Information

Qt Download Page

Related Articles

Qt 5.6 Released

Qt 5.5 Released

Qt 5.4 Released

Qt’s New Home

Qt 5.3 Released

Qt 5.2 Released

Digia Buys Qt Development Platform

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Bun Shell Released
29/02/2024

The developers of the Bun JavaScript runtime have released Bun Shell, a new experimental embedded language and interpreter in Bun that lets you run cross-platform shell scripts in JavaScript and TypeS [ ... ]



Chainguard Joins Docker Verified Publisher Program
15/03/2024

Chainguard has joined the Docker Verified Publisher (DVP) program, meaning its Chainguard Developer Images are now officially available on Docker's container image registry.


More News

{loadposition comment