Advanced compiler options.
Extension *.ui
command line macro: uic $file -o $file_dir/qt/ui_$file_name.h (BTW In image I forgot the ui_)
generated files: qt/ui_$file_name.h
BUT
generated file IS NOT in folder qt. It is on source root (src).
This image explains better what I mean.
See in the project tree, the broken link to autogenerated file.
[attachment deleted by admin]