Originally posted by erendorn
View Post
different build paths may need to be taken depending on the state of the building system.
The build system will also most likely generate additional header files to aid in conditional compilation.
I doubt it will be trivial to build a large C++ code base if it is not accompanied with its build system tailored to the source code.
Originally posted by erendorn
View Post
shipped with the sources but are generated by the build system at compile time.
moc generates additional information at compile time to aid the build process.moc is part of the build system.
If your Qt code is small enough,you can write the code moc was going to generate and skip calling moc.
If the C++ code base is small enough,you can also manually compile each source file yourself,you can also create all
needed header files and other supporting files the sources needs that the build system was going to produce for the code yourself.
Criticizing Qt because of generated C++ code through moc seems to me like barking at the wrong tree.
Comment