> How can QUrl know whether urltest is a folder or a file with no dots in its
> name? It seems to assume it is a file. Try adding a slash to the end of
> the baseUrl, ie QUrl baseUrl("/home/mandeep/urltest/");
Oops! Yes, you're correct! The trailing slash corrects the problem.
Thanks,
-mandeep