Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, July 2007
QTextBrowser & web server


Message 1 in thread

Hello,

my application has a simple help window based on  QTextBrowser. The help 
text is shown when I use local files (setSource("file://.....")). Now I 
want to use some documentation located on a webserver. Is this also 
possible with QTextBrowser ? I tried to use setSource("http:// 
vis....."), but this didn't work. There was no error but also no text.

Ruth

-- 
 [ signature omitted ] 

Message 2 in thread

On Monday 02 July 2007 10:38, Ruth Lang wrote:
> Hello,
>
> my application has a simple help window based on  QTextBrowser. The help
> text is shown when I use local files (setSource("file://.....")). Now I
> want to use some documentation located on a webserver. Is this also
> possible with QTextBrowser ? I tried to use setSource("http://
> vis....."), but this didn't work. There was no error but also no text.

This approach also requires implementing logic to access the webserver, see:
QTextBrowser::loadResource

Frank

--
 [ signature omitted ]