Results 1 to 20 of 20

Thread: I lost my QHtmlBrowser Widget, anyone seen it?

  1. #1
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question I lost my QHtmlBrowser Widget, anyone seen it?

    I SSSSSSOOOOOO wish there was an HTML browser widget that wasn't OS specific. I know I _could_ use a text browser, but it seems that it's HTML support is pretty limited. I would love to have something like that which can run javascript... that would ROCK! Anyone ever seen something like that for Qt?

    Katrina

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Try embedding gecko (mozilla engine).

  3. #3
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Quote Originally Posted by wysota
    Try embedding gecko (mozilla engine).
    Have you succeeded doing something like that? I'm more than intrested. I'm using KHtml for now but I don't really like it

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Quote Originally Posted by yop
    Have you succeeded doing something like that? I'm more than intrested. I'm using KHtml for now but I don't really like it
    I haven't tried, although I heard people did it. There is even some kind of receipe in the net on embedding gecko.

  5. #5
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Chiming in late here, but I had a conversation with a customer yesterday on this very topic. What is wanted by the commercial Qt user isn't an HTML widget, but Internet Explorer. You can do this in Windows, because there is a real explorer component to use. But it doesn't exist elsewhere.

    The reason is simple: plugins. Nobody cares about HTML/CSS anymore, they want to use proprietary plugins, particularly Flash v8+. Even if you took KHTML, Gecko, WebKit or something else and created a 100% compliant ACID2 passing HTML/CSS/ECMA browser, it still won't be good enough. The customer I was working with was pissed at Apple WebKit, because the Flash plugin was flaky (basically it's a Carbon window embedded in Cocoa WebKit embedded in Carbon QWidget).

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Gecko should be able to use Netscape plugins (including Flash). Unfortunately Flash 8 is off limits for Linux+Firefox now, but this will hopefully change.

  7. #7
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Quote Originally Posted by Brandybuck View Post
    Chiming in late here, but I had a conversation with a customer yesterday on this very topic. What is wanted by the commercial Qt user isn't an HTML widget, but Internet Explorer. You can do this in Windows, because there is a real explorer component to use. But it doesn't exist elsewhere.

    The reason is simple: plugins. Nobody cares about HTML/CSS anymore, they want to use proprietary plugins, particularly Flash v8+. Even if you took KHTML, Gecko, WebKit or something else and created a 100% compliant ACID2 passing HTML/CSS/ECMA browser, it still won't be good enough. The customer I was working with was pissed at Apple WebKit, because the Flash plugin was flaky (basically it's a Carbon window embedded in Cocoa WebKit embedded in Carbon QWidget).
    Nobody cares about HTML/CSS anymore? Good luck getting a webpage to look like anything resembling a webpage without them.

  8. #8
    Join Date
    Jan 2006
    Posts
    75
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Yeah I find it hard to believe that a customer who understands the Internet doesn't respect CSS/XHTML.

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    I think the point is not that he does or does not respect css/xhtml but that he requires something more than html support from a html browser (I know this sounds silly).

  10. #10
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Talking Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Gotta love it when your dreams come true ;-)
    Yay for QtWebKit!

  11. #11
    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: I lost my QHtmlBrowser Widget, anyone seen it?

    Hey Katrina,

    I must say I am not sure what (Qt)WebKit is - all though I read through what I could find...:-\
    Is it meant as a framework to write browsers and HTML/Other scripts - aware applications (that run web applications), or is it a framework for building web applications (maybe a bit like Cocoon/Tomcat)?

    Can you clarify that for me please?
    Thanks!
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  12. #12
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Lightbulb Re: I lost my QHtmlBrowser Widget, anyone seen it?

    There seems to have been a lot of confusion about this going around.

    QtWebKit is basically a web browser widget (although a bit more robust than just that) so that you can write apps that can view HTML/Javascript/etc documents.
    QtWebKit does not make Qt apps into web apps.
    Katrina Niolet

  13. #13
    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: I lost my QHtmlBrowser Widget, anyone seen it?

    Ah! Thanks!
    QtWebKit does not make Qt apps into web apps.
    Is there anything else that you know of besides Wt that allows coding C/C++ for web applications? (I ask since it seems you are well versed in the subject)
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  14. #14
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Yep! I sent you a private message about it because its not announced yet. :-)
    Katrina Niolet

  15. #15
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Quote Originally Posted by katrina View Post
    QtWebKit is basically a web browser widget (although a bit more robust than just that) so that you can write apps that can view HTML/Javascript/etc documents.
    QtWebKit does not make Qt apps into web apps.
    QtWebKit is a port of WebKit which is an Apple project used by their Safari browser and is in turn a port of KHTML (used by Konqueror) which is based on Qt - "Ashes to ashes, Qt to Qt"

  16. #16
    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: I lost my QHtmlBrowser Widget, anyone seen it?

    I know that, Witek, THAT was clear from the wiki site, but I didn't know what it is really for...
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  17. #17
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Thumbs up

    Quote Originally Posted by wysota View Post
    "Ashes to ashes, Qt to Qt"
    Very nice quote!

    BTW, there is a really great QtWebKit example in the Qt-4.4.0-tp1 download, its in demos/browser. Its actually a decent (although simple) web browser - with tabs, a page inspector, and such. Also *cough* it doesn't suffer from some of Konqueror's rendering bugs (although I did notice a couple rendering bugs of its own - but they seem to be fewer)
    Last edited by wysota; 21st December 2007 at 12:32. Reason: Posts merged
    Katrina Niolet

  18. #18
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    I'm hoping that there will be plugin support for Webkit/QtWebKit. Because as I remarked up above, many potential Qt clients will be specifying Flash v9+ support for their apps.

  19. #19
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Red face Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Hmmm, I have not chcked yet if there is any built-in support for loading extensions, but I am sure if there isn't that someone will release something to do it pretty quickly; that seems like it would be a very in-demand feature.
    Katrina Niolet

  20. #20
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I lost my QHtmlBrowser Widget, anyone seen it?

    Quote Originally Posted by Brandybuck View Post
    I'm hoping that there will be plugin support for Webkit/QtWebKit. Because as I remarked up above, many potential Qt clients will be specifying Flash v9+ support for their apps.
    I assume Safari supports it, so sooner or later we will probably have support for plugins in WebKit as well.

Similar Threads

  1. QDockWidget inside another widget in the center?
    By Antebios in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2010, 07:06
  2. Widget Focus
    By navi1084 in forum Qt Programming
    Replies: 6
    Last Post: 29th September 2008, 10:22
  3. How to Open & Close a Widget ?!!
    By Fatla in forum Qt Programming
    Replies: 6
    Last Post: 13th June 2008, 20:39
  4. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  5. Lost widget
    By anli in forum Qt Programming
    Replies: 6
    Last Post: 29th July 2006, 19:02

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.