qmake: call moc with generated response files
|Reported by:||dmik||Owned by:|
|Component:||Tools||Version:||4.5.1 Beta 1|
In order to overcome the CMD.EXE 1024 character command line length limitation, we create response files for the compiler that contain C/C++ options, defines, include paths and object files instead of passing this all on command line.
moc.exe invocation also involves defines and include paths so the command line length limit may be easily exceeded. We need to teach qmake to generate a moc invocation statement that uses the response files we already generate for the C/C++ compiler.