<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- whatsnew56.qdoc --> <title>What's New in Qt 5.6 | Qt 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td ><a href="index.html">Qt 5.9</a></td><td >What's New in Qt 5.6</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#new-modules">New Modules</a></li> <li class="level1"><a href="#new-features-in-qt-5-6">New Features in Qt 5.6</a></li> <li class="level2"><a href="#qt-3d">Qt 3D</a></li> <li class="level2"><a href="#qt-core-module">Qt Core Module</a></li> <li class="level2"><a href="#qt-canvas3d-module">Qt Canvas3D Module</a></li> <li class="level2"><a href="#qt-gui-module">Qt GUI Module</a></li> <li class="level2"><a href="#qt-multimedia-module">Qt Multimedia Module</a></li> <li class="level2"><a href="#qt-nfc-module">Qt NFC Module</a></li> <li class="level2"><a href="#qt-network-module">Qt Network Module</a></li> <li class="level2"><a href="#qt-platform-abstraction-qpa">Qt Platform Abstraction (QPA)</a></li> <li class="level2"><a href="#qt-positioning-module">Qt Positioning Module</a></li> <li class="level2"><a href="#qt-qml-module">Qt QML Module</a></li> <li class="level2"><a href="#qt-testlib-module">Qt Testlib Module</a></li> <li class="level2"><a href="#qt-webview-module">Qt WebView Module</a></li> <li class="level2"><a href="#qt-webengine-module">Qt WebEngine Module</a></li> <li class="level2"><a href="#qt-widgets-module">Qt Widgets Module</a></li> <li class="level1"><a href="#removed-functionality">Removed Functionality</a></li> <li class="level1"><a href="#deprecated-functionality">Deprecated Functionality</a></li> <li class="level1"><a href="#list-of-api-changes">List of API Changes</a></li> <li class="level1"><a href="#additions-to-other-qt-5-releases">Additions to Other Qt 5 Releases</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">What's New in Qt 5.6</h1> <span class="subtitle"></span> <!-- $$$whatsnew56.html-description --> <div class="descr"> <a name="details"></a> <p>Qt 5.6 is a long-term support (LTS) release.</p> <a name="new-modules"></a> <h2 id="new-modules">New Modules</h2> <ul> <li>Qt Quick Controls 2<ul> <li>Included as a technology preview.</li> <li>Provides lightweight QML types for creating performant user interfaces for embedded and mobile devices.</li> </ul> </li> <li>Qt Serial Bus<ul> <li>Included as a technology preview.</li> <li>Provides a framework for accessing serial bus backends in general, and implementations for Controller Area Network (CAN) bus and Modbus.</li> </ul> </li> <li>Qt Compositor(Qt Wayland)<ul> <li>Included as a technology preview.</li> <li>Provides a framework to develop Wayland compositor.</li> </ul> </li> <li>Qt WebEngine Core<ul> <li>Provides a public API shared by both Qt WebEngine and Qt WebEngine Widgets.</li> </ul> </li> </ul> <a name="new-features-in-qt-5-6"></a> <h2 id="new-features-in-qt-5-6">New Features in Qt 5.6</h2> <a name="qt-3d"></a> <h3 >Qt 3D</h3> <ul> <li>New buffer and attribute API.</li> <li>Support for <a href="http://www.opengl.org/wiki/Vertex_Rendering#Instancing">OpenGL instanced rendering</a> where supported.</li> <li>Support for <a href="http://www.opengl.org/wiki/Vertex_Rendering#Primitive_Restart">OpenGL primitive restart</a>.</li> <li>Support for clip planes, stencil operations, and many more OpenGL features.</li> <li>Support for easily generating buffer data from C++ and QML (using JavaScript typed arrays).</li> <li><i>qgltf</i> tool to compile scenes into <a href="http://www.khronos.org/gltf/">glTF</a>.</li> <li>Support for loading glTF scenes via SceneLoader.</li> <li>Support for controlling multi-sampling with Scene3D.</li> <li>More standard materials: per-vertex colors and Gooch shading.</li> <li>New APIs for mouse input and collision detection.</li> <li>New Logic aspect to have QML/C++ code executed synchronously with the Qt 3D aspect engine. Useful for prototyping future Qt 3D features.</li> </ul> <a name="qt-core-module"></a> <h3 >Qt Core Module</h3> <ul> <li>Reduced memory usage of dynamic properties.</li> <li>Allow logging directly to syslog on Linux systems.</li> <li>Added QStorageInfo::blockSize().</li> <li>Added QVersionNumber class.</li> <li>Added key_iterator to QHash and QMap.</li> <li>Added const_iterator to QByteArray.</li> <li>Added reverse iterator support to all sequential containers.</li> <li>added QDir::listSeparator().</li> <li>Optimized performance in QString.</li> </ul> <a name="qt-canvas3d-module"></a> <h3 >Qt Canvas3D Module</h3> <ul> <li>Support for using Qt Quick items as textures.</li> <li>Support for rendering directly to Qt Quick scene background or foreground.</li> </ul> <a name="qt-gui-module"></a> <h3 >Qt GUI Module</h3> <ul> <li>Improved cross-platform OpenGL ES 3.0 and 3.1 support to enable developing mobile/embedded applications utilizing GLES3 features.</li> <li>Improved cross-platform high-dpi support.</li> <li>Raster engine support for rendering internally with 16bits-per-color.</li> <li>QImageReader now exports gamma values and other meta data for some image formats.</li> </ul> <a name="qt-multimedia-module"></a> <h3 >Qt Multimedia Module</h3> <ul> <li>New Playlist QML type.</li> <li>New audio role API for the media player (C++ and QML).</li> <li>Support for camera focus and video probe on <a href="build-sources.html#winrt">WinRT</a>.</li> <li>New functions in QML AudioEngine to support dynamic object creation.</li> </ul> <a name="qt-nfc-module"></a> <h3 >Qt NFC Module</h3> <ul> <li>Added support for Android.</li> </ul> <a name="qt-network-module"></a> <h3 >Qt Network Module</h3> <ul> <li>Added QHostAddress::isMulticast().</li> <li>Support HTTP redirection in QNetworkAccessManager.</li> </ul> <a name="qt-platform-abstraction-qpa"></a> <h3 >Qt Platform Abstraction (QPA)</h3> <ul> <li>Optional support for using <a href="qt-embedded-fonts.html#freetype">FreeType</a> on macOS.</li> <li>Added support for NVIDIA Jetson TK1 Pro boards running Vibrante Linux via a new eglfs backend utilizing DRM, EGLDevice, and EGLStream.</li> <li>Added support for Intel Atom-based NUCs.</li> <li>Added support for WEC2013.</li> <li>Windows 10 fully supported (classic and <a href="build-sources.html#winrt">WinRT</a> app)</li> <li>Windows Store apps are now composited inside a XAML layer, allowing better integration with the native UI layer.</li> <li>Use <code>libinput</code>, if available, as the default on <code>eglfs</code> and <code>linuxfb</code>.</li> </ul> <a name="qt-positioning-module"></a> <h3 >Qt Positioning Module</h3> <ul> <li>Added support for macOS.</li> <li>Added support for GPS receivers exposed as a serial port on Windows desktop (all versions).</li> <li>Removed libgeoclue dependency for the GeoClue backend.</li> </ul> <a name="qt-qml-module"></a> <h3 >Qt QML Module</h3> <ul> <li>Support for writing JavaScript function names to Linux's perf output.</li> <li>Reduced overall memory consumption.</li> </ul> <a name="qt-testlib-module"></a> <h3 >Qt Testlib Module</h3> <ul> <li>More stable input event handling.</li> </ul> <a name="qt-webview-module"></a> <h3 >Qt WebView Module</h3> <ul> <li>Added support for <a href="build-sources.html#winrt">WinRT</a>.</li> </ul> <a name="qt-webengine-module"></a> <h3 >Qt WebEngine Module</h3> <ul> <li>Based on Chromium 45.</li> <li>Support for pepper plugins including Flash.</li> <li>Support for unbundling and linking with system libraries on Linux.</li> <li>Support for following global Qt proxy settings.</li> <li>More WebActions from QtWebKit and WebAction API in QML.</li> <li>New QtWebEngineCore module for shared low-level API.</li> <li>New core API for custom URL schemes.</li> <li>New core API for intercepting and blocking network requests.</li> <li>New core API for tracking or blocking cookies.</li> </ul> <a name="qt-widgets-module"></a> <h3 >Qt Widgets Module</h3> <ul> <li>Allow programmatic resizing of dock widgets.</li> <li>Allow dropping dock widgets into floating docks.</li> <li>Allow the user to re-arrange tabbed docks.</li> <li>Allow horizontal scrolling using a mouse wheel in QListView.</li> <li>Support QOpenGLWidget and QQuickWidget on <a href="build-sources.html#winrt">WinRT</a>.</li> </ul> <a name="removed-functionality"></a> <h2 id="removed-functionality">Removed Functionality</h2> <ul> <li>Qt WebKit</li> <li>Qt Declarative (Qt Quick 1)</li> </ul> <a name="deprecated-functionality"></a> <h2 id="deprecated-functionality">Deprecated Functionality</h2> <ul> <li>Enginio</li> <li>Qt Script</li> </ul> <p>These modules are still included in Qt 5.6, but are considered for removal in future releases.</p> <a name="list-of-api-changes"></a> <h2 id="list-of-api-changes">List of API Changes</h2> <p>The pages below contain a list of API changes in Qt 5.6:</p> <ul> <li><a href="newclasses56.html">New Classes and Functions in Qt 5.6</a></li> <li><a href="obsoleteclasses.html">Obsolete Classes</a></li> </ul> <a name="additions-to-other-qt-5-releases"></a> <h2 id="additions-to-other-qt-5-releases">Additions to Other Qt 5 Releases</h2> <ul> <li><a href="whatsnew55.html">What's New in Qt 5.5</a></li> <li><a href="whatsnew54.html">What's New in Qt 5.4</a></li> <li><a href="whatsnew53.html">What's New in Qt 5.3</a></li> <li><a href="whatsnew52.html">What's New in Qt 5.2</a></li> <li><a href="whatsnew51.html">What's New in Qt 5.1</a></li> <li><a href="whatsnew50.html">What's New in Qt 5.0</a></li> </ul> </div> <!-- @@@whatsnew56.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>