I'm using qmake's PRECOMPILED_HEADER
variable to generate a precompiled header.
If one of the precompiled header's included headers changes, the precompiled header isn't rebuilt — instead, when clang tries to use the precompiled header, it fails with fatal error: file '...' has been modified since the precompiled header was built
.
How can I tell qmake to automatically recompile the precompiled header when its dependencies change?