The first idea that comes to mind is to use qrc:/ instead of just :/
when dealing with an HTML URL instead of a QFile one.

/s/ Adam

On Mon, May 16, 2011 at 5:27 PM, Thomas Ehrnhoefer
<[email protected]> wrote:
> Hi
>
> I am trying to use HelpManager's handleHelpRequest to open a local html
> file, but I fail to do so.
> both registering it in a resource file and using ":/test.html", as well as
> trying other relative paths or an absolute path fails. All that happens is
> that it switched to the Help perspective and shows an empty page. If I use
> an actual Url, it works.
>
> Is opening a local html file even possible, and if so, how would I do this?
>
> Thanks
> Thomas
>
> --
> Thomas Ehrnhoefer
> Software Developer, http://tasktop.com
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator
>
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to