[Maya2017- Pyside2] UI Icons not working using QUiloader

qt
python
maya

#1

I have a UI made on desginer that uses some icons, if I load the UI in maya using loadUI they show fine, they are inside a icon folder of a module,
but when I change to QUiloader.loader.load to load them the icons are missing.

It looks to me that the path is using is different from the loadUI, is there a way to set the path for the loader.load? (hacking the UI fiel paths to absolute works fine but I need them to be relative)

Cheers,
David