summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@theqtcompany.com>2015-09-09 15:03:47 +0200
committerOliver Wolff <oliver.wolff@theqtcompany.com>2015-10-13 06:06:05 +0000
commitb8664776acfd693fc97ff6acc32e760dfb5798de (patch)
treebb112b47c0c6768da1e30432ca384d106312e27b
parentb42a8500824b630bb189a80b3eb175fa76565563 (diff)
downloadqtdoc-b8664776acfd693fc97ff6acc32e760dfb5798de.tar.gz
WinRT: Mention requirement of x86 command prompt for building Qt
Change-Id: Id690674aed6afbd2b33c9d3b7c6a98329540ff69 Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
-rw-r--r--doc/src/platforms/winrt.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/platforms/winrt.qdoc b/doc/src/platforms/winrt.qdoc
index aab134ff..0ac682e2 100644
--- a/doc/src/platforms/winrt.qdoc
+++ b/doc/src/platforms/winrt.qdoc
@@ -135,6 +135,13 @@
this will only create binaries for WinRT. You will need Visual Studio for
Windows Desktop as well to create those desktop tools.
+ Please make sure to use an x86 command prompt (either use the \e {VS x86 Native
+ Tools Command Prompt} or call \e vcvarsall.bat without any parameter or with \c x86)
+ for every WinRT/Windows Phone build. While the toolchain which is used for the
+ target is set automatically, the command prompt decides what will be used for the
+ host tools like \e qmake or \e moc. Building these tools might fail if another
+ command prompt is used.
+
The WinRT mkspec format is \c {<platform>-<architecture>-<toolchain>}
where \e platform can be \c winrt or \c winphone and architecture can be
\c arm, \c x86, or \c x64. The following is an example of building qtbase