Hi, this is my first try with Qt and I try an exemple generating with a bat file :

when i try to compile the project with MVS2010, I've got this error :

Qt Code:
  1. 1>------ Rebuild All started: Project: examplemixin, Configuration: Debug x64 ------
  2. 1>Build started 01.07.2014 14:16:49.
  3. 1>_PrepareForClean:
  4. 1> Deleting file "examplemixin.dir\Debug\examplemixin.lastbuildstate".
  5. 1>InitializeBuildStatus:
  6. 1> Touching "examplemixin.dir\Debug\examplemixin.unsuccessfulbuild".
  7. 1>CustomBuild:
  8. 1> Generating moc_examplemixin.cpp
  9. 1> '-fstdafx.h' is not recognized as an internal or external command,
  10. 1> operable program or batch file.
To copy to clipboard, switch view to plain text mode 
This error comes from the command line of my header file examplemixin:h, with a custom built tool :
Qt Code:
  1. setlocal
  2. -fstdafx.h -fC:/TOOLS/COMMON/ADTF/2.9.0-win64_vc100/addons/adtf-display-toolbox/src/examples/src/3dscenedisplay/examplemixin/examplemixin.h C:/TOOLS/COMMON/ADTF/2.9.0-win64_vc100/addons/adtf-display-toolbox/src/examples/src/3dscenedisplay/examplemixin/examplemixin.h -o C:/TOOLS/COMMON/ADTF/2.9.0-win64_vc100/addons/adtf-display-toolbox/build/src/examples/src/3dscenedisplay/examplemixin/moc_examplemixin.cpp
  3. if %errorlevel% neq 0 goto :cmEnd
  4. :cmEnd
  5. endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
  6. :cmErrorLevel
  7. exit /b %1
  8. :cmDone
  9. if %errorlevel% neq 0 goto :VCEnd
To copy to clipboard, switch view to plain text mode 
I know that my project got the stdafx:h file and that -f is a command line from Qt, but I can not solve this error

Thanks for your help