1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
5\page qtqml-modules-cppplugins.html
6\title Creating C++ Plugins for QML
7\brief Description of how to write C++ plugins for QML
9\section1 Creating a Plugin
11 The \l{QQmlEngine}{QML engine} loads C++ plugins for QML.
12 Such plugins are usually provided in a QML extension module, and can
13 provide types for use by clients in QML documents that import the module.
14 A module requires at least one registered type to be considered valid.
16 \include qqmlextensionplugin.qdocinc
21 \li \l {Writing QML Extensions with C++} - contains a chapter
22 on creating QML plugins.
23 \li \l{Defining QML Types from C++} - information about registering C++ types into
25 \li \l{How to Create Qt Plugins} - information about Qt plugins