Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > f93881942bd3805980c2fe63aa853d78 > files > 292

qtdoc5-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- whatsnew52.qdoc -->
  <title>What's New in Qt 5.2 | 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.2</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="#support-for-new-platforms">Support for New Platforms</a></li>
<li class="level2"><a href="#android">Android</a></li>
<li class="level2"><a href="#ios">iOS</a></li>
<li class="level1"><a href="#qt-creator-updates">Qt Creator Updates</a></li>
<li class="level1"><a href="#installation-updates">Installation Updates</a></li>
<li class="level1"><a href="#new-features-in-qt-5-2">New Features in Qt 5.2</a></li>
<li class="level2"><a href="#qt-core-module">Qt Core Module</a></li>
<li class="level2"><a href="#qt-gui-module">Qt GUI Module</a></li>
<li class="level2"><a href="#qt-widgets-module">Qt Widgets Module</a></li>
<li class="level2"><a href="#qt-print-support-module">Qt Print Support Module</a></li>
<li class="level2"><a href="#qt-qml-module">Qt QML Module</a></li>
<li class="level2"><a href="#qt-quick-module">Qt Quick Module</a></li>
<li class="level2"><a href="#qt-quick-controls-module">Qt Quick Controls Module</a></li>
<li class="level2"><a href="#qt-quick-dialogs-module">Qt Quick Dialogs Module</a></li>
<li class="level2"><a href="#qt-quick-layouts-module">Qt Quick Layouts Module</a></li>
<li class="level2"><a href="#qt-network-module">Qt Network Module</a></li>
<li class="level2"><a href="#moc-new-features">moc New Features</a></li>
<li class="level2"><a href="#accessibility-new-features">Accessibility New Features</a></li>
<li class="level2"><a href="#webkit-new-features">WebKit New Features</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.2</h1>
<span class="subtitle"></span>
<!-- $$$whatsnew52.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt 5.2 introduces many changes for helping developers continue creating wonderful applications, easily and with less code. As well in this release, focus is placed on bug fixing and new features, while maintaining compatibility with Qt 5.1 and 5.0&#x2e;</p>
<p>This page is a summary of new features. For specific API changes, the <a href="whatsnew59.html#list-of-api-changes">List of API Changes</a> section contains links to new and obsolete classes.</p>
<a name="new-modules"></a>
<h2 id="new-modules">New Modules</h2>
<ul>
<li>Qt Android Extras</li>
<li>Qt Bluetooth</li>
<li>Qt Mac Extras</li>
<li>Qt NFC</li>
<li>Qt Positioning</li>
<li>Qt Windows Extras</li>
</ul>
<p>For more information, visit the <a href="qtmodules.html">All Modules</a> page.</p>
<a name="support-for-new-platforms"></a>
<h2 id="support-for-new-platforms">Support for New Platforms</h2>
<a name="android"></a>
<h3 >Android</h3>
<ul>
<li>Full support for camera and recording</li>
<li>Low-latency audio (QAudioInput, QAudioOutput)</li>
<li>Command-line deployment tool</li>
<li>JNI convenience API</li>
<li>OpenSSL support</li>
</ul>
<p>For more information, visit the <a href="android-support.html">Qt for Android</a> page.</p>
<a name="ios"></a>
<h3 >iOS</h3>
<ul>
<li>Media player support</li>
<li>Basic camera support (only viewfinder and image capture)</li>
<li>Low-latency audio (QAudioInput, QAudioOutput)</li>
</ul>
<p>For more information, visit the <a href="ios-support.html">Qt for iOS</a> page.</p>
<a name="qt-creator-updates"></a>
<h2 id="qt-creator-updates">Qt Creator Updates</h2>
<p>Qt Creator 3.0 is released along with Qt 5.2&#x2e; In Qt Creator 3.0, the following were added:</p>
<ul>
<li>Initial iOS support</li>
<li>API cleanup</li>
<li>Enhanced Android support</li>
<li>Initial debugging backend for the <a href="http://lldb.llvm.org/">LLDB Debugger</a> (OS X)</li>
</ul>
<a name="installation-updates"></a>
<h2 id="installation-updates">Installation Updates</h2>
<p>In 5.2, there are new reference installers for OS X:</p>
<ul>
<li>Android</li>
<li>iOS</li>
</ul>
<p>There is also a new target binary for Windows, OS X, and Linux:</p>
<ul>
<li>Qt for Android ARMv5</li>
</ul>
<p>The installers are available from the <a href="http://qt.io/download">Downloads</a> page.</p>
<a name="new-features-in-qt-5-2"></a>
<h2 id="new-features-in-qt-5-2">New Features in Qt 5.2</h2>
<a name="qt-core-module"></a>
<h3 >Qt Core Module</h3>
<ul>
<li>Added class QCommandLineParser for command-line arguments parsing</li>
<li>Added new overload to QObject::connect() to add a context object when connecting to a lambda</li>
<li>Added new QStringRef methods; left, right, mid</li>
<li>Added QLoggingCategory/qCDebug, qCWarning, and other macros to configure what gets logged at runtime</li>
<li>Added class QTimeZone to support time zones using Olsen time zone IDs</li>
<li>Added support to QDateTime for new Qt::TimeSpec of Qt::TimeZone and Qt::OffsetFromUTC</li>
<li>Added new class QCollator to provide advanced platform-based collation</li>
<li>Added more I/O redirection possibilities to QProcess</li>
<li>Added iteration capability to containers in QVariant</li>
<li>Added dereferencing to QObject for smart pointers in QVariant</li>
<li>Added QFileSelector to ease the selection of files when running in a different platform</li>
</ul>
<a name="qt-gui-module"></a>
<h3 >Qt GUI Module</h3>
<ul>
<li>Added applicationState() function and applicationStateChanged() signal to QGuiApplication</li>
<li>Added QOpenGLTexture class</li>
</ul>
<a name="qt-widgets-module"></a>
<h3 >Qt Widgets Module</h3>
<ul>
<li>Added support for embedded clear button commonly used for item view filtering and side actions to QLineEdit</li>
<li>Added methods based on QUrl to QFileDialog</li>
<li>Added new QKeySequenceEdit class</li>
<li>Restored session-management support from Qt4</li>
<li>Restored basic startup-notification support on Unix</li>
<li>Added placeholderText property to QTextEdit</li>
<li>Added getMultiLineText static method to QInputDialog</li>
<li>Added tabBarClicked and tabBarDoubleClicked signals to QTabBar</li>
</ul>
<a name="qt-print-support-module"></a>
<h3 >Qt Print Support Module</h3>
<ul>
<li>Added advanced CUPS features on Linux including server-side page range selection, odd and even page selection, pages-per-sheet, job scheduling, and banner pages.</li>
</ul>
<a name="qt-qml-module"></a>
<h3 >Qt QML Module</h3>
<ul>
<li>Added new property to Qt.application: state</li>
<li>Added ability to define QML singletons with QML files</li>
<li>Added QQmlFileSelector for applying file selectors to support certain styles of cross-platform development</li>
<li>Added a supported method for launching QML-only applications for the QML binary runtimes</li>
<li>New V4 JS engine</li>
</ul>
<a name="qt-quick-module"></a>
<h3 >Qt Quick Module</h3>
<ul>
<li>Added a new <a href="topics-graphics.html#qt-quick-scene-graph">scenegraph</a> renderer for improved performance</li>
<li>Added texture atlas support in SceneGraph</li>
<li>Added new <i>animator</i> types, which can run animations on the scene graph's render thread.</li>
<li>Support for external drag-and-drop</li>
</ul>
<a name="qt-quick-controls-module"></a>
<h3 >Qt Quick Controls Module</h3>
<ul>
<li>Added support for an editable combo box</li>
<li>Added support for multi-selection in TableView</li>
<li>Added support for setting columns movable in TableView</li>
<li>Added Switch type</li>
<li>Added BusyIndicator type</li>
<li>Simplified deployment</li>
</ul>
<a name="qt-quick-dialogs-module"></a>
<h3 >Qt Quick Dialogs Module</h3>
<ul>
<li>Added a new FontDialog type</li>
</ul>
<a name="qt-quick-layouts-module"></a>
<h3 >Qt Quick Layouts Module</h3>
<ul>
<li>Added baseline support to layout</li>
</ul>
<a name="qt-network-module"></a>
<h3 >Qt Network Module</h3>
<ul>
<li>Added public methods to pre-TCP and pre-SSL-connect to QNetworkAccessManager</li>
<li>Added API to persist and resume SSL sessions to QSslConfiguration</li>
<li>Added support for allowing for debugging SSL traffic with Wireshark or tcpdump</li>
<li>Add public member bearerTypeFamily() to QNetworkConfiguration</li>
</ul>
<a name="moc-new-features"></a>
<h3 >moc New Features</h3>
<ul>
<li>Added <code>-M</code> argument to add plugin metadata from the command line</li>
</ul>
<a name="accessibility-new-features"></a>
<h3 >Accessibility New Features</h3>
<ul>
<li>Enabled accessibility on Mac</li>
<li>Made the APIs public so that it is possible to implement accessibility for custom widgets</li>
<li>Basic accessibility support for Android</li>
</ul>
<a name="webkit-new-features"></a>
<h3 >WebKit New Features</h3>
<ul>
<li>Added CSS blending</li>
<li>Improved the threaded garbage collection</li>
<li>Added support for LLInt on x87 (old x86 without SSE2)</li>
<li>Added Improvements to standard support in HTML5 Canvas, CSS Grid, CSS Shapes, CSS filters, and other features</li>
</ul>
<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.2</p>
<ul>
<li><a href="newclasses52.html">New Classes and Functions in Qt 5.2</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="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="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>
<!-- @@@whatsnew52.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>