<p>The <tt>examples</tt> directory in Marble's sources has C++ and Qt Quick (QML)<!-- and Python--> examples that give a good idea how to integrate Marble in your project.</p>
<p>
<ahref="https://cgit.kde.org/marble.git/tree/examples"class="btn btn-primary"><iclass="icon-globe icon-white"></i> All examples and tutorials</a></p>
<ahref="https://invent.kde.org/education/marble/-/tree/master/examples"class="btn btn-primary"><iclass="icon-globe icon-white"></i> All examples and tutorials</a></p>
<p>A couple of these examples have been converted to TechBase Wiki pages for a more convenient Internet access.</p>
<p>Further examples can be found in a set of C++ tutorials in <ahref="https://techbase.kde.org/Marble/MarbleCPlusPlus">KDE Techbase</a>. They are also part of the Marble sources in the <ahref="https://cgit.kde.org/marble.git/tree/examples/cpp"><code>examples/cpp/</code></a> path.</p>
<p>Further examples can be found in a set of C++ tutorials in <ahref="https://techbase.kde.org/Marble/MarbleCPlusPlus">KDE Techbase</a>. They are also part of the Marble sources in the <ahref="https://invent.kde.org/education/marble/-/tree/master/examples/cpp"><code>examples/cpp/</code></a> path.</p>
<p><!--Saved as <code>marble.qml</code>, it can be executed using <code>qmlviewer marble.qml</code>. -->Further examples can be found in the Marble sources in the <ahref="https://cgit.kde.org/marble.git/tree/examples/qml"><code>examples/qml/</code></a> path.</p>
<p><!--Saved as <code>marble.qml</code>, it can be executed using <code>qmlviewer marble.qml</code>. -->Further examples can be found in the Marble sources in the <ahref="https://invent.kde.org/education/marble/-/tree/master/examples/qml"><code>examples/qml/</code></a> path.</p>
</div>
<divclass="col-md-6">
...
...
@@ -207,7 +207,7 @@ main()
<div class="row">
<div class="col-md-6">
<p>Saved as <code>marble.py</code>, it can be executed using <code>python marble.py</code>. Further examples can be found in the Marble sources in the <a href="https://cgit.kde.org/marble.git/tree/examples/python"><code>examples/python/</code></a> path.</p>
<p>Saved as <code>marble.py</code>, it can be executed using <code>python marble.py</code>. Further examples can be found in the Marble sources in the <a href="https://invent.kde.org/education/marble/-/tree/master/examples/python"><code>examples/python/</code></a> path.</p>
<p>If you Marble installation does not include the Python bindings, you can install Marble from source. Make sure to add the <code>-DEXPERIMENTAL_PYTHON_BINDINGS=TRUE</code> parameter when calling <code>cmake</code>. Before installing the Python bindings for Marble, <a href="http://www.riverbankcomputing.com/software/pyqt/download">PyQt4</a> and <a href="http://techbase.kde.org/Development/Languages/Python">PyKDE</a> as well as <a href="http://www.riverbankcomputing.com/software/sip/download">SIP</a> must be installed.</p>
The Marble source code is available in a <ahref="https://cgit.kde.org/marble.git"target="_blank">Git repository</a>. Make sure <tt>git</tt> is installed on your system and clone the Marble repository. You can choose between <divclass="btn-group"data-toggle="buttons">
The Marble source code is available in a <ahref="https://invent.kde.org/education/marble"target="_blank">Git repository</a>. Make sure <tt>git</tt> is installed on your system and clone the Marble repository. You can choose between <divclass="btn-group"data-toggle="buttons">