aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/modules/qt-modules.qdoc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-10-06 19:18:16 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-10-07 12:07:15 +0200
commitb7e42fbe02d6105c5e449e90f74ef16f30500440 (patch)
treebf1cfd520371fef4582044ddab3af84ff9dedd11 /doc/reference/modules/qt-modules.qdoc
parent2202f8b65c6eb3c1fc4784bdc76f758578856432 (diff)
Make Qt build variants logic more sensible.v1.3.2
We no longer force the Qt build variant to match the build variant of the application linking against it (except for MSVC, where that is required). Change-Id: Ie2c80fbb0d688cdcbab57ad638aaccbbd6988a22 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc/reference/modules/qt-modules.qdoc')
-rw-r--r--doc/reference/modules/qt-modules.qdoc27
1 files changed, 20 insertions, 7 deletions
diff --git a/doc/reference/modules/qt-modules.qdoc b/doc/reference/modules/qt-modules.qdoc
index 01e2226b9..a183e96ff 100644
--- a/doc/reference/modules/qt-modules.qdoc
+++ b/doc/reference/modules/qt-modules.qdoc
@@ -186,23 +186,23 @@
interesting to users. Some of them only need to be defined if the respective installation
of Qt was built in some unusual way, for instance by setting non-default \c configure flags.
- \section3 binPath
+ \section3 availableBuildVariants
\table
- \row \li \b{Type:} \li \c{path}
- \row \li \b{Default:} \li \c{undefined}
+ \row \li \b{Type:} \li \c{stringList}
+ \row \li \b{Default:} \li set by \c{qbs-setup-qt}
\endtable
- The path in which Qt tools such as \c qmake, \c moc and so on are located.
+ The build variants that this Qt installation offers.
- \section3 buildVariant
+ \section3 binPath
\table
- \row \li \b{Type:} \li \c{stringList}
+ \row \li \b{Type:} \li \c{path}
\row \li \b{Default:} \li \c{undefined}
\endtable
- Specifies the build variants for which Qt was built.
+ The path in which Qt tools such as \c qmake, \c moc and so on are located.
\section3 config
@@ -334,6 +334,19 @@
Controls which name the \c qhp file gets when generating documentation with \c qdoc.
+ \section3 qtBuildVariant
+
+ \table
+ \row \li \b{Type:} \li \c{string}
+ \row \li \b{Default:} \li See below.
+ \endtable
+
+ Specifies the type of Qt libraries to build against: "debug" or "release".
+ The default value is the build variant of the code linking against Qt. If Qt does not offer
+ that build variant, the build variant offered by Qt is chosen instead.
+ \note On some systems, it is not possible to link code built in debug mode against libraries
+ built in release mode and vice versa.
+
\section3 qtConfig
\table