Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 5ab010e37991249ab4adaa24d6e39c6e > files > 237

qt5-qtdoc-5.1.1-2.fc18.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- whatsnew51.qdoc -->
  <title>What's New in Qt 5.1 | QtDoc 5.1</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader"></div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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-supported-platforms">New Supported Platforms</a></li>
<li class="level1"><a href="#summary-of-changes">Summary of Changes</a></li>
<li class="level2"><a href="#moc">moc</a></li>
<li class="level2"><a href="#qmake">qmake</a></li>
<li class="level2"><a href="#qt-core">Qt Core</a></li>
<li class="level2"><a href="#qt-gui">Qt GUI</a></li>
<li class="level2"><a href="#qt-network">Qt Network</a></li>
<li class="level2"><a href="#qt-qml">Qt QML</a></li>
<li class="level2"><a href="#qt-quick">Qt Quick</a></li>
<li class="level2"><a href="#qt-webkit">Qt WebKit</a></li>
<li class="level2"><a href="#qt-widgets">Qt Widgets</a></li>
<li class="level2"><a href="#qt-creator-compatibility">Qt Creator Compatibility</a></li>
<li class="level2"><a href="#other-new-features">Other New Features</a></li>
<li class="level1"><a href="#list-of-api-changes">List of API Changes</a></li>
</ul>
</div>
<h1 class="title">What's New in Qt 5.1</h1>
<span class="subtitle"></span>
<!-- $$$whatsnew51.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt 5.1 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.0&#x2e;</p>
<p>This page is a summary of new features. For specific API changes, the <a href="#list-of-api-changes">List of API Changes</a> section contains links to new and obsolete classes.</p>
<a name="new-modules"></a>
<h2>New Modules</h2>
<p>New modules add more functionality for developers to use on various platforms.</p>
<ul>
<li>Qt Quick Controls - a set of reusable UI controls. Qt 5.1 targets desktop platforms, while future releases will include more features useful on touch devices.</li>
<li>Qt Quick Layouts - provides layouts for <a href="#qt-quick">Qt Quick</a></li>
<li>Qt Quick Dialogs - contains types for creating and interacting with system dialogs</li>
<li>Qt X11 Extras - adds platform specific APIs for X11</li>
<li>Qt Sensors - provides access to sensor hardware and motion gesture recognition both via QML and C++ interfaces. Supports <a href="android-support.html">Android</a>, BlackBerry, <a href="ios-support.html">iOS</a>, and Mer platforms.</li>
<li>Qt Serial Port - provides an interface for hardware and virtual serial ports</li>
</ul>
<p>The <a href="qtmodules.html">All Modules</a> page contains a list of all modules in Qt 5.1&#x2e;</p>
<a name="new-supported-platforms"></a>
<h2>New Supported Platforms</h2>
<p>Qt 5.1 introduces support for following new platforms with technology preview status:</p>
<ul>
<li><a href="android-support.html">Qt for Android</a> (Technology Preview)</li>
<li><a href="ios-support.html">Qt for iOS</a> (Technology Preview)</li>
</ul>
<a name="summary-of-changes"></a>
<h2>Summary of Changes</h2>
<a name="moc"></a>
<h3>moc</h3>
<ul>
<li>New keyword in Q_PROPERTY(), <tt>MEMBER</tt>, lets you bind a property to a class member without requiring to have a getter or a setter.</li>
</ul>
<a name="qmake"></a>
<h3>qmake</h3>
<ul>
<li>On Windows: Added support for specifying application icon (via <tt>RC_ICONS</tt>).</li>
</ul>
<a name="qt-core"></a>
<h3>Qt Core</h3>
<ul>
<li>Added support for SHA3 to QCryptographicHash</li>
<li>Added toInt(), toUInt(), and similar functions to QStringRef</li>
<li>A new threadsafe initialization of global statics through refactored Q_GLOBAL_STATIC().</li>
<li>A new class, QLockFile, provides locking between processes using a file. This lock enables applications to check that there is only one instance of it running.</li>
<li>A new class, QSaveFile, provides transaction such as file writing.</li>
</ul>
<a name="qt-gui"></a>
<h3>Qt GUI</h3>
<ul>
<li>Support for embedding and reparenting of windows created from other processes, via QWindow::fromWinId().</li>
<li>QWidget::createWindowContainer() adds the capability to embed QWindow instances, such as QQuickView or a QWindow using QOpenGLContext, into a QWidget hierarchy.</li>
<li>Support for kerning advances in QRawFont::advancesForGlyphIndexes.</li>
<li>QImageReader and QImageWriter adds the ability to report supported MimeTypes.</li>
<li>New input method plugin, QComposeInputContext.</li>
<li>New GTK+ 2.x platformtheme plugin that provides native file, font, and color dialogs.</li>
<li>New class, QOpenGLContext::versionFunctions(), provides access to all OpenGL functions.</li>
<li>New QOpenGLTimerQuery and QOpenGLTimeMonitor classes.</li>
<li>New QOpenGLDebugLogger class expose KHR_debug extension for easy debugging.</li>
<li>Added support for Geometry, Tessellation Control, Tessellation Evaluation, and Compute shaders to QOpenGLShader and QOpenGLShaderProgram.</li>
<li>New QOpenGLVertexArrayObject class.</li>
</ul>
<a name="qt-network"></a>
<h3>Qt Network</h3>
<ul>
<li>New encrypted() signal to QNetworkAccessManager and QNetworkReply so that applications can perform additional checks on the certificate chain.</li>
<li>Support for sending intermediate certificates when QSslSocket is used as a server and when using client certificates.</li>
<li>Support for SSL session reuse allowing much faster connections to servers.</li>
</ul>
<a name="qt-qml"></a>
<h3>Qt QML</h3>
<ul>
<li>New QQmlApplicationEngine convenience class for QML applications.</li>
<li>New Instantiatior type for generic, dynamic object creation.</li>
<li>New QtQml.Models module containing ListElement, <a href="qtquick-performance.html#listmodel">ListModel</a>, DelegateModel, DelegateModelGroup, and ObjectModel.</li>
<li>New properties for Qt.application: arguments, name, and version.</li>
</ul>
<a name="qt-quick"></a>
<h3>Qt Quick</h3>
<ul>
<li>New threaded render loop for Mac, Linux, and Embedded.</li>
<li>New render loop for windows for smoother animations.</li>
<li>New Qt Quick Dialogs submodule with FileDialog and ColorDialog types.</li>
<li>New Window properties: activeFocusItem, minimumWidth, minimumHeight, maximumWidth, maximumHeight, visibility, contentOrientation, and opacity.</li>
<li>New Item property: activeFocusOnTab.</li>
<li>New Grid properties: horizontalAlignment, verticalAlignment, and effectiveHorizontalAlignment.</li>
<li>New TextEdit properties: selectByKeyboard and textDocument</li>
<li>A Window declared inside another Window or Item will automatically be transient for (centered upon) the outer window.</li>
</ul>
<a name="qt-webkit"></a>
<h3>Qt WebKit</h3>
<ul>
<li>JavaScript JIT on Windows 64 bit.</li>
<li>Improved font rendering, kerning enabled by default.</li>
<li>Improved garbage collection.</li>
<li>Support for WOFF fonts.</li>
<li>Support for WebGL without accelerated compositing.</li>
<li>Support for GStreamer 1.0&#x2e;</li>
<li>Improved perceived page load performance and support for Link prefetch.</li>
</ul>
<a name="qt-widgets"></a>
<h3>Qt Widgets</h3>
<ul>
<li>Added property toolTipsVisible in QMenu.</li>
</ul>
<a name="qt-creator-compatibility"></a>
<h3>Qt Creator Compatibility</h3>
<p><a href="http://qt-project.org/doc/qtcreator/index.html">Qt Creator</a> 2.7 complements this Qt release with the most prominent new features:</p>
<ul>
<li>Improved C++11 code editing support</li>
<li><a href="http://qt-project.org/doc/qtcreator/creator-using-qt-quick-designer.html">Qt Quick Designer</a> with full support for Qt Quick</li>
<li>Android <a href="http://qt-project.org/doc/qtcreator/creator-deploying-android.html">development target</a></li>
<li>Experimental QBS and diff integration</li>
</ul>
<a name="other-new-features"></a>
<h3>Other New Features</h3>
<ul>
<li>Restored support for static Qt builds</li>
</ul>
<a name="list-of-api-changes"></a>
<h2>List of API Changes</h2>
<p>The pages below contain a list of API changes in Qt 5.1</p>
<ul>
<li><a href="newclasses51.html">New Classes and Functions in Qt 5.1</a></li>
<li><a href="obsoleteclasses.html">Obsolete Classes</a></li>
</ul>
</div>
<!-- @@@whatsnew51.html -->
</div>
</div>
</div>
<div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      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.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Digia, Qt and their respective logos are trademarks of Digia Plc 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>