Add documentation for the NO_DEFAULT option for qt_import_plugins()

Task-number: QTBUG-95712
Pick-to: 6.2 6.2.0
Change-Id: I3ba7fa52fa38c2ee1f9080f91894c36504a4f451
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Craig Scott 2021-09-08 18:05:27 +10:00
parent afb7d3b814
commit 1fed96d19f
1 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,9 @@ qt_import_plugins(target
[INCLUDE plugin ...]
[EXCLUDE plugin ...]
[INCLUDE_BY_TYPE plugin_type plugin ...]
[EXCLUDE_BY_TYPE plugin_type])
[EXCLUDE_BY_TYPE plugin_type]
[NO_DEFAULT]
)
\endcode
\versionlessCMakeCommandsNote qt6_import_plugins()
@ -59,6 +61,8 @@ can be used more than once.
import for a certain plugin type.
\li \c EXCLUDE_BY_TYPE -- can be used to specify a plugin type to exclude;
then no plugins of that type are imported.
\li \c NO_DEFAULT -- prevent the default plugins from being included
automatically (for example, the default platform plugin).
\endlist
Qt provides plugin types such as \c imageformats, \c platforms,