common/templates/run-qmake.ant.xml.ftl
changeset 1106 232bce64d370
parent 1052 401ecaf0a844
child 1121 82b232da6082
child 1132 0efdb3cb6014
--- a/common/templates/run-qmake.ant.xml.ftl	Mon Jun 14 16:10:45 2010 +0100
+++ b/common/templates/run-qmake.ant.xml.ftl	Fri Jun 18 15:12:44 2010 +0100
@@ -3,10 +3,12 @@
 
     <target name="all">
 
-    <if><not><available file="${r'$'}{build.drive}/epoc32/tools/qt/qmake.exe" type="file"/></not>
+    <!-- Qmake needs to have been built in this environment, to generate bld.infs to built Qt itself.  
+         Qmake.exe only exists in the source tree if its been built  -->
+
+    <if><not><available file="${r'$'}{build.drive}/sf/mw/qt/bin/qmake.exe" type="file"/></not>
     <then>
 	        <sequential>
-
 	<#list data["//unit/@bldFile/.."] as unit>
           <#if (unit.@bldFile=="/sf/mw/qt/src/s60installs/deviceconfiguration")>
                 <echo>INFO: Building and configuring qmake for ${unit.@bldFile}</echo>