Results 1 to 3 of 3

Thread: QTextBrowser and animation gif?

  1. #1
    Join Date
    Feb 2006
    Posts
    31

    Default QTextBrowser and animation gif?

    Hi,

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

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QTextBrowser and animation gif?

    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.)

  3. #3
    Join Date
    Feb 2006
    Posts
    31

    Default Re: QTextBrowser and animation gif?

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.