[Qt-creator] use HelpManager.handleHelpRequest to open local file
Thomas Ehrnhoefer
thomas.ehrnhoefer at tasktop.com
Tue May 17 16:06:47 CEST 2011
Perfect, that's working :)
Thanks Adam
On Mon, May 16, 2011 at 9:00 PM, Coda Highland <coda at bobandgeorge.com>wrote:
> 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
> <thomas.ehrnhoefer at tasktop.com> 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
> > Qt-creator at qt.nokia.com
> > http://lists.qt.nokia.com/mailman/listinfo/qt-creator
> >
> >
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator
>
--
Thomas Ehrnhoefer
Software Developer, http://tasktop.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20110517/8dec88cd/attachment.html
More information about the Qt-creator-old
mailing list