common/templates/run-qmake.ant.xml.ftl
changeset 1121 82b232da6082
parent 1120 794ddd7e666a
parent 1106 232bce64d370
child 1139 90101aa1a177
--- a/common/templates/run-qmake.ant.xml.ftl	Tue Jun 22 11:48:19 2010 +0100
+++ b/common/templates/run-qmake.ant.xml.ftl	Thu Jun 24 13:29:52 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>