diff options
Diffstat (limited to 'examples/qml/tutorials/extending/chapter6-plugins/doc/chapter6-plugins.rst')
-rw-r--r-- | examples/qml/tutorials/extending/chapter6-plugins/doc/chapter6-plugins.rst | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/examples/qml/tutorials/extending/chapter6-plugins/doc/chapter6-plugins.rst b/examples/qml/tutorials/extending/chapter6-plugins/doc/chapter6-plugins.rst deleted file mode 100644 index 10aba1e8f..000000000 --- a/examples/qml/tutorials/extending/chapter6-plugins/doc/chapter6-plugins.rst +++ /dev/null @@ -1,21 +0,0 @@ -.. _qml-chapter6-plugins-example: - -Extending QML - Plugins Example -=============================== - -This example refers to the Python version of using a QML plugin in Python. The idea of plugins in -Python is non-existent because Python modules are dynamically loaded anyway. We use this idea and -our QML type registration decorators - QmlELement/QmlNamedElement - to register the QML modules as -they are imported. The pyside6-qml tool does this for you by simply pointing to the .qml file. - -.. image:: plugins.png - :width: 400 - :alt: Plugins Example - - -Running the Example -------------------- - -.. code-block:: shell - - pyside6-pyqml examples/declarative/extending/chapter6-plugins/app.qml -I examples/declarative/extending/chapter6-plugins/Charts |