When developing with the the cmake build system, precompiled headers are used and all <QtCore>/<QtGui> headers are included by default. So there is no error if the header is not included, but the scons/auto builds will fail.
Your pch approach is convenient, fast, but error-prone. When I tried (and failed) to add pch feature for scons, I used a much more conservative approach That is to say, pch.h are different for each module (directory), and they contain only a common subset of header files used. My pch.h are smaller than yours, but errors like missing header files will be detected. Bo
