diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-05-27 15:35:58 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-05-30 17:41:08 +0000 |
commit | 77b4884c0d64f221acb312604f0647e8c409c79e (patch) | |
tree | 6c86fdbe451568c631a259cd5e7bdbbe20a86aca /src/qml/qml/qqmlextensionplugin.cpp | |
parent | baad186daf64d059f0e67d93c55f3aa380c8763a (diff) |
Fix \relates for Q_IMPORT_QML_PLUGIN
Refer to the class instead of trying to refer to the header. The latter
does not associate it with the actual page and creates a proxy page
instead.
As a drive-by, mention that the macro only exists from 6.2 onwards.
Change-Id: I531ee92257e6631a5b7830d881b1ef42a7ea61b1
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
(cherry picked from commit feff2898fe6b457ed9f999c110bb89dea042285b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/qml/qqmlextensionplugin.cpp')
-rw-r--r-- | src/qml/qml/qqmlextensionplugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlextensionplugin.cpp b/src/qml/qml/qqmlextensionplugin.cpp index ecac16102d..e978ca7d9e 100644 --- a/src/qml/qml/qqmlextensionplugin.cpp +++ b/src/qml/qml/qqmlextensionplugin.cpp @@ -184,7 +184,8 @@ void QQmlEngineExtensionPlugin::initializeEngine(QQmlEngine *engine, const char /*! \macro Q_IMPORT_QML_PLUGIN(PluginName) - \relates <QQmlExtensionPlugin> + \since 6.2 + \relates QQmlExtensionPlugin Ensures the plugin whose metadata-declaring class is named \a PluginName is linked into static builds. |