You obviously do not access the file from a resource, but yes, at least it does seem to exist on disk.

All code that you have posted looks ok. But the warning could come from GeoDataIconStyle::setIconPath() or elsewhere.

Cheers,
_