Results 1 to 5 of 5

Thread: How to upgrade QWebKit from 2.1 to 2.2 in Qt 4.8.0 ?

  1. #1
    Join Date
    Mar 2013
    Posts
    9
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to upgrade QWebKit from 2.1 to 2.2 in Qt 4.8.0 ?

    Hi All,

    I want to upgrade QWebKit in Qt 4.8.0. The current version of QWebKit is 2.1 and I want to upgrade it to 2.2. I have downloaded the tar.gz file of QWebKit 2.2 from :
    http://gitorious.org/+qtwebkit-devel...s/qtwebkit-2.2 .

    Can someone guide me on how to proceed for build and installation of QWebKit 2.2 for Qt 4.8.0 ? Any links or documents that describe the steps for upgrading QWebKit from 2.1 to 2.2 ?

    I am currently using Ubuntu 11.04.

    Thanks.

    With Regards,
    Dhananjay.K.J.
    Last edited by dkj5; 26th March 2013 at 14:20.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to upgrade QWebKit from 2.1 to 2.2 in Qt 4.8.0 ?

    Qt 4.8.0 already contains Qt WebKit 2.2.1 (http://blog.qt.digia.com/blog/2011/1...-8-0-released/)
    Just upgrade Qt to 4.8.3 or .4 and you will have Qt WebKit 2.2.3+ (http://qt-project.org/uploads/commun.../changes-4.8.3)

    Or you could tell us about the problem you are assuming will be fixed by this.
    Last edited by ChrisW67; 26th March 2013 at 23:45.

  3. #3
    Join Date
    Mar 2013
    Posts
    9
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to upgrade QWebKit from 2.1 to 2.2 in Qt 4.8.0 ?

    Chris, Thank you for your quick response.

    I checked out the first link in your reply post.

    I have Qt 4.8.0 installed in my Ubuntu system and the version of QtWebKit in it is 2.1. I am not supposed to change the version of the Qt from 4.8.0 to 4.8.3. , since I am not sure on how it will affect the input from the underlying software layer.
    Using the QWebView widget, I was trying to access a HTML5 page which requires QtWebKit to support HTML5. QtWebKit 2.1doesn't support HTML5 and QtWebKit 2.2 supports HTML5. So, I thought of upgrading only QtWebKit while retaining the same Qt 4.8.0. to check if I can get the HTML5 page through Qt 4.8.0.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to upgrade QWebKit from 2.1 to 2.2 in Qt 4.8.0 ?

    According to the Qt 4.8.0 source code Qt 4.8.0 contains Qt WebKit at commit 52a11cec052aa40d3bbc06861be1177b649b4a99 which you will find is neatly tagged 2.2.1 in the Qt WebKit 2.2 branch commit graph.

  5. #5
    Join Date
    Mar 2013
    Posts
    9
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to upgrade QWebKit from 2.1 to 2.2 in Qt 4.8.0 ?

    I was able to build QtWebKit 2.2 seperately by following the steps given in:
    http://trac.webkit.org/wiki/BuildingQtOnLinux# .
    I tested the working of the QtWebKit by launching the test browser and accessing a particular HTML5 page. It works as desired. But, currently unable to get the QWebView widget in the Widget Box in Qt designer.

    Does some one know how to get the QWebView widget in the Qt designer after seperately building the QtWebKit ?

Similar Threads

  1. html5 video tag not working on Windows
    By zorlette in forum Newbie
    Replies: 2
    Last Post: 5th June 2014, 08:43
  2. Replies: 1
    Last Post: 19th January 2013, 18:27
  3. Does Qt 4.7.3 support HTML5 video in Qt WebKit?
    By allamsetty in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 9th April 2012, 20:02
  4. Replies: 0
    Last Post: 3rd March 2012, 08:46
  5. HTML5 video and Qt4.6 WebKit
    By carribus in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2010, 10:47

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.