/usr/share/qt5/doc/qtdoc/shadow.html is in qt5-doc-html 5.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- wince-customization.qdoc -->
<title>Windows CE - Using shadow builds | Qt 5.5 </title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li><a href="index.html">Qt 5.5</a></li>
<li>Windows CE - Using shadow builds</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Windows CE - Using shadow builds</h1>
<span class="subtitle"></span>
<!-- $$$shadow-description -->
<div class="descr"> <a name="details"></a>
<p>While developing for Windows CE you might want to compile a version of Qt for several different platforms and SDKs. In order to create those different builds of Qt you do not have to copy the whole Qt package or the Qt source. You are able to create multiple Qt builds from a single source tree. Such builds are called shadow builds.</p>
<p>Basically a shadow build is created by calling configure.exe from a different directory.</p>
<p>To make sure that the shadow build compiles correctly it is important that you following these guidelines:</p>
<ul>
<li>The original Qt source package must be left untouched - configure must never have been run in the source tree directory.</li>
<li>With Qt5, the code has to be checked out of the git repository, otherwise the out of source build will fail as syncqt is not executed.</li>
<li>Avoid using "release" and "debug" in the path to the shadow build directory. (This is an internal limitation of the build system.)</li>
<li>Perl has been installed on your system. (<a href="http://www.activestate.com/Products/activeperl/index.mhtml">ActivePerl</a> is a popular distribution of Perl on Windows.)</li>
</ul>
<p>So lets assume you have installed Qt in <code>C:\Qt\5.5.1</code> and you want to create a shadow build in <code>C:\Qt\mobile5-shadow</code>:</p>
<ul>
<li>Make sure the environment variables for your compiler are set.<p>Visual Studio includes <code>vcvars32.bat</code> for that purpose - or simply use the "Visual Studio Command Prompt" from the Start menu.</p>
</li>
<li>Now navigate to your shadow build directory and run configure:<pre class="cpp">cd c:\<span class="type"><a href="../qtcore/qt.html">Qt</a></span>\mobile5<span class="operator">-</span>shadow
C:\<span class="type"><a href="../qtcore/qt.html">Qt</a></span>\<span class="number">5.5.1</span>\configure<span class="operator">.</span>exe <span class="operator">-</span>xplatform wincewm50pocket<span class="operator">-</span>msvc2005 <span class="operator">-</span>prefix <span class="operator">%</span>INSTALLDIR<span class="operator">%</span></pre>
</li>
<li>Finally, to build the shadow build type:<pre class="cpp">nmake</pre>
</li>
<li>That's all. You have successfully created a shadow build of Qt in <code>C:\Qt\mobile5-shadow</code>.</li>
<li>Now you can call <code>nmake install</code> and get a clean installation of Qt in <i>%INSTALLDIR%</i>.</li>
</ul>
</div>
<!-- @@@shadow -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|