AutoMoc gets confused when the headers change
I can see it every time my compiler changes, but I imagine it would happen for any set of headers. Here's an excerpt.
AutoMoc warning: "SRC:/wallpapers/image/slidemodel.h" depends on "/usr/include/c++/10.1.0/vector" but the file does not exist.
AutoMoc warning: "SRC:/wallpapers/image/slidemodel.h" depends on "/usr/include/c++/10.1.0/x86_64-pc-linux-gnu/bits/atomic_word.h" but the file does not exist.
AutoMoc warning: "SRC:/wallpapers/image/slidemodel.h" depends on "/usr/include/c++/10.1.0/x86_64-pc-linux-gnu/bits/c++allocator.h" but the file does not exist.
AutoMoc warning: "SRC:/wallpapers/image/slidemodel.h" depends on "/usr/include/c++/10.1.0/x86_64-pc-linux-gnu/bits/c++config.h" but the file does not exist.
The only solution I've found is the recreation of the build directory.