PDA

View Full Version : QTextBrowser and animation gif?



oob2
10th October 2006, 22:38
Hi,

How to display an animation gif in QTextBrowser? I am using QT 336.

Thanks.

high_flyer
12th October 2006, 22:57
I am not sure, but since QTextBrowser can parse html, you can just embed your animated gif in the html - this should be then automatically displayed by QTextBrowser(i think.)

oob2
13th October 2006, 18:36
Well, I tried. It's not working if I use following html syntax.
<img src="C:\1.gif">

If I embed a ActiveX object (WebBrowser) and use IHTMLDocument2 with previous html text, it is working.

How can I make QTextBrowser the same behavior as IWebBrowser2 of win32???

Thanks