<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><palign="right">[<ahref="qmake-manual-1.html">Prev: Introduction to qmake</a>] [<ahref="qmake-manual.html">Home</a>] [<ahref="qmake-manual-3.html">Next: The 10 minute guide to using qmake</a>]</p>
<h2align="center">Installing qmake</h2>
<h3><aname="1"></a>Installing qmake</h3>
<p><em>qmake</em> is built by default when TQt is built.</p>
<p>This section explains how to build <em>qmake</em> manually. Skip ahead to <ahref="qmake-manual-3.html">The 10 minute guide to using qmake</a>, if you already have <em>qmake</em>.</p>
<p>Before building TQt manually the following environment variables must be set:</p>
<ul><li><p>QMAKESPEC <br> This must be set to the platform and compiler combination that you are using on your system. <br> For example, if you are using Windows and Microsoft Visual Studio, you would set this environment variable to <em>win32-msvc</em>. If you are using Solaris and g++, you would set this environment variable to <em>solaris-g++</em>.</p>
<p>The following is a list of environment variables available to choose from when setting QMAKESPEC:</p>
<li><p>TQTDIR <br> This must be set to where TQt is (or will be) installed. For example, <em>c:\qt</em> and <em>\local\qt</em></p>
</ul><p>Once the environment variables are set go into the qmake directory, <em>$TQTDIR/qmake</em>, e.g. <em>C:\qt\qmake</em>. Now run <em>make</em> or <em>nmake</em> depending on your compiler.</p>
<p>When the make has completed, <em>qmake</em> is ready for use.</p>
<!-- eof -->
<palign="right">[<ahref="qmake-manual-1.html">Prev: Introduction to qmake</a>] [<ahref="qmake-manual.html">Home</a>] [<ahref="qmake-manual-3.html">Next: The 10 minute guide to using qmake</a>]</p>