I'm having a problem with QTextBrowser. Seems to be a pitfall because I have found that it has different behavior depending on what is the current working directory...

For example if I say

Qt Code:
  1. browser.setSearchPaths(QStringList("/my/path"));
  2. browser.setSource("index.html");
To copy to clipboard, switch view to plain text mode 

then everything works fine... unless there happens to be an index.html in the current working directory... in which case it still opens /my/path/index.html as desired... however the supporting content is not found! Whereas it works fine if working directory does not contain index.html!