aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/developer/add_module.rst
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/doc/developer/add_module.rst')
-rw-r--r--sources/pyside6/doc/developer/add_module.rst15
1 files changed, 12 insertions, 3 deletions
diff --git a/sources/pyside6/doc/developer/add_module.rst b/sources/pyside6/doc/developer/add_module.rst
index 321a34723..2eb962207 100644
--- a/sources/pyside6/doc/developer/add_module.rst
+++ b/sources/pyside6/doc/developer/add_module.rst
@@ -18,7 +18,7 @@ Add bindings
- Add it to ``build_scripts/wheel_files.py`` (plugins, translations).
- Copy an existing module to ``sources/pyside6/PySide6/<name>``.
- Adapt the ``typesystem.xml`` and ``CMakeList.txt`` (using for example
- Qt Creator's case-preserving replace function).
+ *Qt Creator*'s case-preserving replace function).
- Make sure the dependencies are correct.
- Find the exported public classes, add them to the ``typesystem.xml`` file,
checking whether they are ``value-type`` or ``object-type``. Add their enums
@@ -33,8 +33,8 @@ Add bindings
typically hidden behind a progress message.
- A convenient way of doing this is using
``qt-creator/scripts/shiboken2tasks.py`` from the
- `Qt Creator repository <https://code.qt.io/cgit/qt-creator/qt-creator.git>`_
- converting them to a ``.tasks`` file which can be loaded into Qt Creator's
+ `*Qt Creator* repository <https://code.qt.io/cgit/qt-creator/qt-creator.git>`_
+ converting them to a ``.tasks`` file which can be loaded into *Qt Creator*'s
issue pane.
- Link errors may manifest when ``generate_pyi`` imports the module trying
to create signatures. They indicate a missing source file entry
@@ -44,6 +44,15 @@ Add bindings
of using ``#include <QtModule/header.h>`` since module include paths
are not passed in PySide.
+Distribution
+------------
+
+- Determine to which wheel the module belongs according to
+ `Qt Modules <https://doc.qt.io/qt-6/qtmodules.html>`_.
+- Add the module to ``build_scripts/wheel_files.py`` for use by
+ ``create_wheels.py``.
+- Add the module to one of the ``README.pyside6_*.md`` files.
+
Add documentation
-----------------