Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > c936229ef0138f42857f36beadbeda30 > files > 480

qt3d5-doc-5.12.2-2.mga7.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" />
<!-- qt3d-index.qdoc -->
  <title>Qt 3D 5.12.2</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 >Qt 5.12</td><td >Qt 3D</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.12.2 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="#getting-started">Getting Started</a></li>
<li class="level1"><a href="#overview">Overview</a></li>
<li class="level1"><a href="#reference">Reference</a></li>
<li class="level1"><a href="#qt-3d-platform-support">Qt 3D Platform Support</a></li>
<li class="level1"><a href="#licenses-and-attributions">Licenses and Attributions</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt 3D</h1>
<span class="subtitle"></span>
<!-- $$$qt3d-index.html-description -->
<div class="descr"> <a name="details"></a>
<p><i>Qt 3D</i> provides functionality for near-realtime simulation systems with support for 2D and 3D rendering in both Qt C++ and Qt Quick applications.</p>
<p>The functionality in Qt 3D is divided into the following C++ modules:</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3dcore-module.html">Qt3DCore</a></p></td><td class="tblDescr"><p>Qt 3D module contains functionality to support near-realtime simulation systems</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qt3dinput-module.html">Qt3DInput</a></p></td><td class="tblDescr"><p>Qt 3D Input module provides classes for handling user input in applications using Qt3D</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3dlogic-module.html">Qt3DLogic</a></p></td><td class="tblDescr"><p>Qt 3D Logic module enables synchronizing frames with the Qt 3D backend</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qt3drender-module.html">Qt3DRender</a></p></td><td class="tblDescr"><p>Qt 3D Render module contains functionality to support 2D and 3D rendering using Qt 3D</p></td></tr>
</table></div>
<p>The following C++ modules are in still development but are available as technology previews:</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3danimation-module.html">Qt3DAnimation</a></p></td><td class="tblDescr"><p>Qt 3D Animation modules provides a set of prebuilt elements to help you get started with Qt 3D</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qt3dextras-module.html">Qt3DExtras</a></p></td><td class="tblDescr"><p>Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3dscene2d-module.html">Qt3DScene2D</a></p></td><td class="tblDescr"><p>Qt 3D Scene2D module provides a way to render Quick2 qml content to a Qt 3D texture</p></td></tr>
</table></div>
<p>For Qt Quick applications, Qt 3D provides the following QML modules:</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3d-core-qmlmodule.html">Qt3D.Core</a></p></td><td class="tblDescr"><p>Provides core Qt 3D QML types</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qt3d-input-qmlmodule.html">Qt3D.Input</a></p></td><td class="tblDescr"><p>Provides QML types for Qt 3D user input</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3d-logic-qmlmodule.html">Qt3D.Logic</a></p></td><td class="tblDescr"><p>Provides QML types to synchronize frames with the 3D backend</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qt3d-render-qmlmodule.html">Qt3D.Render</a></p></td><td class="tblDescr"><p>Provides Qt 3D QML types for rendering</p></td></tr>
</table></div>
<p>The following QML modules are in still development but are available as technology previews:</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3d-animation-qmlmodule.html">Qt3D.Animation</a></p></td><td class="tblDescr"><p>Provides Qt 3D QML types for the animation module</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qt3d-extras-qmlmodule.html">Qt3D.Extras</a></p></td><td class="tblDescr"><p>Provides Qt 3D QML types for the extras module</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtquick-scene2d-qmlmodule.html">QtQuick.Scene2D</a></p></td><td class="tblDescr"><p>Provides Qt 3D QML types for the scene2d module</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtquick-scene3d-qmlmodule.html">QtQuick.Scene3D</a></p></td><td class="tblDescr"><p>Provides Qt 3D QML types for the Scene3D module</p></td></tr>
</table></div>
<a name="getting-started"></a>
<h2 id="getting-started">Getting Started</h2>
<p>For a C++ application that performs 2D or 3D rendering, collision detection, and also handle user input, add the following line to its qmake <code>.pro</code> file:</p>
<pre class="cpp plain">

  QT += 3dcore 3drender 3dinput 3dlogic 3dextras 3danimation

</pre>
<p>To include the definitions of the modules' classes, use the following directives:</p>
<pre class="cpp plain">

  #include &lt;Qt3DCore&gt;
  #include &lt;Qt3DRender&gt;
  #include &lt;Qt3DInput&gt;
  #include &lt;Qt3DLogic&gt;
  #include &lt;Qt3DExtras&gt;
  #include &lt;Qt3DAnimation&gt;

</pre>
<p>A Qt Quick application requires also additional dependencies:</p>
<pre class="cpp plain">

  QT += 3dcore 3drender 3dinput 3dlogic 3dextras qml quick 3dquick 3danimation

</pre>
<a name="overview"></a>
<h2 id="overview">Overview</h2>
<p>The high level design and motivation for Qt 3D is described in the <a href="qt3d-overview.html">Qt 3D Overview</a>. The Qt 3D Render aspect offers support for data-driven configuration as described in <a href="qt3drender-framegraph.html">Qt 3D Render Framegraph</a>.</p>
<a name="reference"></a>
<h2 id="reference">Reference</h2>
<ul>
<li><a href="qt3d-overview.html">Qt 3D Overview</a></li>
<li><a href="qt3d-cpp.html">Qt 3D C++ Classes</a></li>
<li><a href="qt3d-qml.html">Qt 3D QML Types</a></li>
<li><a href="qt3d-examples.html">Qt 3D Examples</a></li>
</ul>
<a name="qt-3d-platform-support"></a>
<h2 id="qt-3d-platform-support">Qt 3D Platform Support</h2>
<p>Qt 3D has the following support for platforms:</p>
<ul>
<li>Microsoft Windows (win32) - Supported</li>
<li>Linux X11 - Supported</li>
<li>macOS - Supported although there may be some retina scaling issues</li>
<li>Android - Supported</li>
<li>Embedded Linux - Supported</li>
<li>iOS - Supported since (Qt 5.7)</li>
<li>WinRT - Not supported yet</li>
</ul>
<a name="licenses-and-attributions"></a>
<h2 id="licenses-and-attributions">Licenses and Attributions</h2>
<p>Qt 3D is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.</p>
<p>Furthermore Qt 3D contains third party modules under following permissive licenses:</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qt3d-attribution-assimp.html">Open Asset Import Library, version 4.1&#x2e;0</a></p></td><td class="tblDescr"><p>BSD 3-clause &quot;New&quot; or &quot;Revised&quot; Licensee</p></td></tr>
</table></div>
</div>
<!-- @@@qt3d-index.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 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>