.ui files with fbs

I’m trying to integrate this technique with fbs but can’t seem to make it work. It doesn’t see my .ui file. Can you please explain how to set this up in fbs?