summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/plugins-howto.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/doc/src/plugins-howto.qdoc')
-rw-r--r--src/corelib/doc/src/plugins-howto.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/corelib/doc/src/plugins-howto.qdoc b/src/corelib/doc/src/plugins-howto.qdoc
index 332b92596b..37c1c13fea 100644
--- a/src/corelib/doc/src/plugins-howto.qdoc
+++ b/src/corelib/doc/src/plugins-howto.qdoc
@@ -296,6 +296,16 @@
to make sure that the \c{QT_STATICPLUGIN} preprocessor macro is
defined.
+ Qt platform adaptation plugins are not automatically linked in static
+ builds. To add default QPA plugin to \c QTPLUGIN variable and automatically
+ generate Q_IMPORT_PLUGIN statements for your application, add the following
+ to \c CONFIG:
+
+ \snippet code/doc_src_plugins-howto.pro 4
+
+ If the minimal QPA plugin is required, use \c qpa_minimal_plugin instead of
+ \c qpa_default_plugin.
+
\section1 Deploying and Debugging Plugins
The \l{Deploying Plugins} document covers the process of deploying