Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
cppplugins.qdoc
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5\page qtqml-modules-cppplugins.html
6\title Creating C++ Plugins for QML
7\brief Description of how to write C++ plugins for QML
8
9\section1 Creating a Plugin
10
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.
15
16 \include qqmlextensionplugin.qdocinc
17
18\section1 Reference
19
20 \list
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
24 the runtime.
25 \li \l{How to Create Qt Plugins} - information about Qt plugins
26 \endlist
27
28
29*/