Hi guys,

I am having a problem building Qt4.2 commercial version on VS2003 and VS2005. What is this problem? How can i solve it?

on VS2005============>

1>Moc'ing test1.h...
1>'C:\Qt\4.2.0' is not recognized as an internal or external command,
1>operable program or batch file.
1>Project : error PRJ0019: A tool returned an error code from "Moc'ing test1.h..."
1>Build log was saved at "file://c:\Documents and Settings\****\My Documents\Visual Studio 2005\LearningQtTut\test1\test1\Debug\BuildLog.htm"
1>test1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


on VS2003============>

------ Build started: Project: test3, Configuration: Debug Win32 ------

Moc'ing test3.h...
'C:\Qt\4.2.0' is not recognized as an internal or external command,
operable program or batch file.
Project : error PRJ0019: A tool returned an error code from "Moc'ing test3.h..."

Build log was saved at "file://c:\Documents and Settings\****\My Documents\Visual Studio Projects\LearnQtTut\test3\Debug\BuildLog.htm"
test3 - 1 error(s), 0 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped


----------------------------------------------------------------------------------------------

thx,