Hi there,

I'm using an HTML-based help file in my application, designating specific topics using the location hash, like this:

Qt Code:
  1. .../help.htm#theTopic
To copy to clipboard, switch view to plain text mode 

I'm opening the help file using QDesktopServices:penUrl, like this:

Qt Code:
  1. QDesktopServices::openUrl(QUrl("file:///[the path]/help.htm#theTopic", QUrl::TolerantMode));
To copy to clipboard, switch view to plain text mode 

This works great on Linux -- the Help file opens at the right location -- but on Windows the location component of the URL is ignored. The browser opens correctly, but it shows only "help.htm"; the hash component has disappeared.

Does anyone have any suggestions as to why this might be happening, or how to fix it?

All help appreciated,
Martin