PDA

View Full Version : Error about MOC



weixj2003ld
26th October 2009, 07:38
I download a .sln from internet,and I compile it,the flowlling error occur,
Moc-ing qfilesystemcomm
moc: Too many input files specified
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name
-nw do not display warnings
-v display version of moc
Project : error PRJ0019: A tool returned an error code from "Moc-ing qfilesystemcomm"
Thk u in advance.
T

wysota
26th October 2009, 09:19
But what do you want from us? It seems the sln file is broken.

weixj2003ld
27th October 2009, 01:12
I think that my vs2005 +QT is not configured correctly,but I do not know what is wrong with them?

squidge
27th October 2009, 09:10
Right click "qfilesystemcomm" in solution browser - custom build step and ensure the run application ('moc') has correct parameters. Or, if there's a .pro file, just re-convert that into a new solution as they do get corrupt.