This now enforces running of uic before any C++ source gets compiled. It seems to work for me here. All my attempts at compilation ended in success. Now all headers created from uic are stored in the .uic subdir, so all ui_xxxx.h includes must be done without a leading path.