Sophie

Sophie

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

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" />
<!-- portingguide.qdoc -->
  <title>Porting Guide | 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="#related-topics">Related Topics</a></li>
</ul>
</div>
<h1 class="title">Porting Guide</h1>
<span class="subtitle"></span>
<!-- $$$portingguide.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt 5 is a result of the conscious effort to make this C++ framework more efficient and easy to use. This release replaces quite a few legacy APIs with more meaningful ones, such as the newer version of Qt Quick.</p>
<p>We try to maintain binary and source compatibility for all the public APIs in each release, but some changes were inevitable in an effort to make Qt, a better UI framework. In this topic, we try to summarize those changes and provide guidance to handle them.</p>
<p>The following list summarizes the changes in Qt 5:</p>
<ul>
<li>Modularized codebase - This means only Qt essentials and the add-on modules you're interested in are needed to develop an application. To know what makes the essentials and add-on modules, refer to the <a href="qtmodules.html">modules</a> page.</li>
<li>Platform-specific code - Symbian and Meego-specific code is removed from the codebase.</li>
<li>Platform defines - All platform-specific code must be wrapped using the preprocessor macro, <tt>Q_OS_*</tt> instead of <tt>Q_WS_*</tt>.</li>
<li>Qt Widgets - These are now part of a separate module, QtWidgets. They were part of QtGui earlier.</li>
<li>Qt Quick - The older Qt Quick version (1.0) is now part of a separate <a href="http://qt-project.org/doc/qt-4.8/qtdeclarative.html">Qt Declarative</a> add-on module for compatibility purposes. We recommend using the new Qt Quick (2.0) from now on to avoid binary breaks in the future.</li>
<li>Qt3Support - This module is removed in Qt 5, so you must move away from this module before porting your codebase to Qt 5.</li>
<li>Qt WebKit - This module has been split into two, there is now a <a href="whatsnew51.html#qt-webkit">Qt WebKit</a> and a <a href="topics-web-content.html#qt-webkit-widgets">Qt WebKit Widgets</a> module.</li>
<li>Multimedia - In Qt 5, multimedia support is provided by the Qt Multimedia module. Phonon framework is no longer part of Qt, but it continues to be maintained by the Phonon developers and has support for Qt 5. See <a href="http://phonon.kde.org">http://phonon.kde.org</a>.</li>
</ul>
<a name="related-topics"></a>
<h2>Related Topics</h2>
<ul>
<li><a href="sourcebreaks.html">C++ API Changes</a></li>
<li><a href="portingcppapp.html">Porting C++ Applications to Qt 5</a></li>
<li><a href="qtquick-porting-qt5.html">Porting QML Applications to Qt 5</a></li>
<li><a href="portingqmlapp.html">Porting QML Applications to Qt 5 Example</a></li>
</ul>
</div>
<!-- @@@portingguide.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>