Made sure syncqt gets called correctly even if it is not in the PATH.

This commit is contained in:
axis 2011-01-28 15:17:00 +01:00
parent 59db0a203d
commit 8e4fc361a5
2 changed files with 6 additions and 3 deletions

View File

@ -38,5 +38,7 @@
:: $QT_END_LICENSE$
::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@rem ***** This assumes PERL is in the PATH *****
@perl.exe -S syncqt %*
@echo off
rem ***** This assumes PERL is in the PATH *****
set scriptpath=%~dp0
perl.exe %scriptpath%syncqt %*

View File

@ -25,7 +25,8 @@ exists($$_PRO_FILE_PWD_/sync.profile) {
else:QTFWD="-qtdir $$QTDIR"
message("Running syncqt for $$PRO_BASENAME in $$OUT_PWD")
system("$$QTDIR/bin/syncqt $$QTFWD -outdir $$OUT_PWD $$_PRO_FILE_PWD_")
qtPrepareTool(QMAKE_SYNCQT, syncqt)
system("$$QMAKE_SYNCQT $$QTFWD -outdir $$OUT_PWD $$_PRO_FILE_PWD_")
unset(QTFWD)
unset(PRO_BASENAME)
}