summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/doc/src/qtwebengine-qmlmodule.qdoc
blob: 7899fad56b13d4e8cf9b20d1f30a9d1de815fb16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \qmlmodule QtWebEngine
    \title Qt WebEngine QML Types
    \brief Provides QML types for rendering web content within a QML application.
    \ingroup qtwebengine-modules
    \ingroup qmlmodules

    The QML types can be imported into your application using the following import statements in
    your .qml file:

    \snippet qtwebengine_build_snippet.qdoc 1

    To link against the module using build with qmake,
    add the following QT variable to your qmake .pro file:

    \snippet qtwebengine_build_snippet.qdoc 0

    For build with CMake use the \c find_package() command to locate the needed module components
    in the Qt6 package and \c target_link_libraries() to link against the module:

    \snippet qtwebengine_build_snippet.qdoc 2
*/