aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tools/pyside-qmltyperegistrar.rst
blob: 0e8d66bd579c73f9efa757f3cb3421ed24e02ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. _pyside6-qmltyperegistrar:

pyside6-qmltyperegistrar
========================

``pyside6-qmltyperegistrar`` is a command line tool that wraps the
``qmltyperegistrar`` tool of Qt.

It takes the file produced by :ref:`pyside6-metaobjectdump`
as input and generates C++ code to register C++ classes to QML
and a ``.qmltypes`` file containing a JSON description of the
classes. For Qt for Python, only the ``.qmltypes`` file
is of interest as input for :ref:`pyside6-qmllint`.

The tool is automatically run by the :ref:`pyside6-project` tool
when passing the ``qmllint`` argument instructing it to check
the QML source files.