Qt can already handle file:// urls.  Did you mean relative paths?