Sophie

Sophie

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

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" />
<!-- web-content.qdoc -->
  <title>Integrating Web Content | 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 >Integrating Web Content</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="#webengine-in-qt">WebEngine in Qt</a></li>
<li class="level1"><a href="#qt-and-html-javascript-hybrid-applications">Qt and HTML-JavaScript Hybrid Applications</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Integrating Web Content</h1>
<span class="subtitle"></span>
<!-- $$$topics-web-content.html-description -->
<div class="descr"> <a name="details"></a>
<p>To create Qt-based web applications, Qt provides interfaces that support a wide range of standard web techologies such as HTML, CSS, and JavaScript. These interfaces enable applications to embed content from the World Wide Web.</p>
<p>It is also possible to combine Qt C++ and QML code with HTML and JavaScript to create web applications. Through Qt WebChannel, several of Qt's APIs are accessible to remote clients.</p>
<a name="webengine-in-qt"></a>
<h2 id="webengine-in-qt">WebEngine in Qt</h2>
<p>Qt provides the Chromium-based Qt WebEngine module for applications targeting desktop and embedded platforms. For example, a web browser application for Linux platform.</p>
<p>It also provides the Qt WebView module, which uses the native web engine of the platform. For example, a RSS feed reader Qt Quick application for Android and iOS.</p>
<p>These pages contain information about porting applications to use Qt WebEngine and the various APIs:</p>
<ul>
<li>Qt WebEngine Overview</li>
<li>Qt WebView</li>
<li>Porting from Qt WebKit to Qt WebEngine</li>
</ul>
<a name="qt-and-html-javascript-hybrid-applications"></a>
<h2 id="qt-and-html-javascript-hybrid-applications">Qt and HTML-JavaScript Hybrid Applications</h2>
<p>The Qt WebChannel module enables HTML or JavaScript clients to access Qt APIs such as QObject. It provides both C++ or QML API, allowing Qt apps to communicate with JavaScript and HTML frontends.</p>
<p>These pages contain more information about the various APIs:</p>
<ul>
<li>JavaScript API</li>
<li>C++ API</li>
<li>QML API</li>
<li>Standalone Example</li>
</ul>
</div>
<!-- @@@topics-web-content.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>