<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- examples.qdoc --> <title>Qt Examples And Tutorials | 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 >Qt Examples And Tutorials</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="#running-the-examples">Running the Examples</a></li> <li class="level1"><a href="#community-examples">Community Examples</a></li> <li class="level1"><a href="#all-examples">All Examples</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt Examples And Tutorials</h1> <span class="subtitle"></span> <!-- $$$qtexamplesandtutorials.html-description --> <div class="descr"> <a name="details"></a> <p>A collection of code samples and tutorials are provided with Qt to help new users get started with Qt development. These documents cover a range of topics, from basic use of widgets to step-by-step tutorials that show how an application is put together.</p> <p>The examples are part of the Qt packages. Visit the <a href="http://qt.io/download">Downloads</a> page for more information.</p> <a name="running-the-examples"></a> <h2 id="running-the-examples">Running the Examples</h2> <p>Open and run examples within Qt Creator's <b>Welcome</b> mode. Most of the examples run on various platforms and to search for platform-specific examples, type the platform name (or any keywords) in the search field. For example, typing <code>Android</code> in the search field lists the examples that are fully compatible with Android.</p> <p>For more information about running examples in Qt Creator, visit the <a href="http://doc.qt.io/qtcreator/creator-build-example-application.html">Building and Running an Example</a> page.</p> <p>To view a list of all Qt examples, visit the <a href="all-examples.html">List of Qt Examples</a> page.</p> <div class="multi-column"><div class="doc-column"><p><b>Setting Up Projects</b></p> <ul> <li><a href="http://doc.qt.io/qtcreator/quick-projects.html">Qt Quick Projects</a></li> <li><a href="http://doc.qt.io/qtcreator/creator-writing-program.html">Qt Widget Projects</a></li> <li><a href="http://doc.qt.io/qtcreator/creator-configuring-projects.html">Configuring Projects</a></li> </ul> </div><div class="doc-column"><p><b>Essentials</b></p> <ul> <li><a href="http://doc.qt.io/qtcreator/creator-building-targets.html">Building for Multiple Platforms</a></li> <li><a href="http://doc.qt.io/qtcreator/creator-running-targets.html">Running on Multiple Platforms</a></li> <li><a href="http://doc.qt.io/qtcreator/creator-deployment.html">Deploying to Devices</a></li> <li><a href="http://doc.qt.io/qtcreator/creator-connecting-mobile.html">Connecting Devices</a></li> </ul> <ul> <li><a href="http://doc.qt.io/qtcreator/creator-building-running.html">See more</a></li> </ul> </div><div class="doc-column"><p><b>Platform Examples</b></p> <ul> <li><a href="examples-android.html">Android</a></li> <li><a href="examples-ios.html">iOS</a></li> <li>Mac Extras</li> <li>Windows Extras</li> <li>Active Qt Examples</li> </ul> </div><div class="doc-column"><p><b>QML and Qt Quick</b></p> <ul> <li><a href="qmlfirststeps.html">First Steps with QML</a></li> <li><a href="http://doc.qt.io/qtcreator/creator-visual-editor.html">Developing Qt Quick Applications</a></li> <li>Qt Quick Controls - Gallery</li> <li>Qt Quick Controls 2 - Gallery</li> <li>SameGame</li> <li><a href="qtquickcontrols-texteditor.html">Qt Quick Text Editor Guide</a></li> </ul> <ul> <li>See more</li> </ul> </div><div class="doc-column"><p><b>Widgets</b></p> <ul> <li><a href="gettingstartedqt.html">Text Editor</a></li> <li>Model-View</li> <li>Item Views Examples</li> <li>Main Window Examples</li> <li><a href="examples-layouts.html">Layout Examples</a></li> <li>Style Sheets Examples</li> </ul> <ul> <li>See more</li> </ul> </div><div class="doc-column"><p><b>Graphics</b></p> <ul> <li>OpenGL Under QML</li> <li>Painted Item</li> <li>Painting Examples</li> <li>Graphics View Examples</li> <li>Rich Text Examples</li> <li><a href="examples-animation.html">Animation Framework Examples</a></li> </ul> </div><div class="doc-column"><p><b>Data and Networking</b></p> <ul> <li>Network Examples</li> <li><a href="examples-sql.html">SQL Examples</a></li> <li><a href="examples-xml.html">XML Examples</a></li> <li>JSON Save Game Example</li> <li>Qt WebChannel Examples</li> <li>Qt WebEngine Examples</li> <li>Qt WebEngine Widgets Examples</li> <li>WebSocket Examples</li> </ul> </div><div class="doc-column"><p><b>Applications</b></p> <ul> <li>Application Example</li> <li>Window and Screen Example</li> <li><a href="plugins-howto.html">How to Create Qt Plugins</a></li> <li>Plug & Paint Example (Plugin Example)</li> </ul> </div><div class="doc-column"><p><b>Processes and Threads</b></p> <ul> <li><a href="thread-basics.html">Threading Basics</a></li> <li><a href="examples-threadandconcurrent.html">Threading and Concurrent Programming Examples</a></li> <li>D-Bus Examples</li> <li><a href="examples-ipc.html">Inter-Process Communication (IPC) Examples</a></li> </ul> </div><div class="doc-column"><p><b>Multimedia</b></p> <ul> <li>Media Player</li> <li>Video Widget</li> <li>Camera Example</li> </ul> <ul> <li>See more</li> </ul> </div><div class="doc-column"><p><b>Peripheral Devices and Location</b></p> <ul> <li>Bluetooth Examples</li> <li>Location Examples</li> <li>NFC Examples</li> <li>Positioning Examples</li> <li>Sensor Examples</li> <li>Serial Port Examples</li> <li>Serial Bus Examples</li> </ul> </div><div class="doc-column"><p><b>Tools</b></p> <ul> <li>Qt Assistant Examples</li> <li>Qt Designer Examples</li> <li>Qt Help Examples</li> <li>Qt Linguist Examples</li> <li><a href="http://doc.qt.io/qtcreator/index.html">Qt Creator Manual</a></li> </ul> </div></div><a name="community-examples"></a> <h2 id="community-examples">Community Examples</h2> <p>To view and run examples provided through the Qt Project, visit the <a href="http://wiki.qt.io/Category:Learning::Demos_and_Examples">Community Examples</a> page.</p> <a name="all-examples"></a> <h2 id="all-examples">All Examples</h2> <p><a href="qtexamples.html">All Qt Examples</a> lists all examples categorized by the Qt module they belong to.</p> </div> <!-- @@@qtexamplesandtutorials.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>