Results 1 to 3 of 3

Thread: WebKit / QML

  1. #1
    Join Date
    Nov 2010
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Smile WebKit / QML

    Hi!

    I'd like to use webkit with QML which import should I make ? Is the webkit library included with the QML version coming with Qt 4.7 ?

    Thanks !

  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: WebKit / QML

    javascript Code:
    1. import QtWebKit 1.0
    2.  
    3. WebView {
    4. url: "http://www.nokia.com"
    5. preferredWidth: 490
    6. preferredHeight: 400
    7. scale: 0.5
    8. smooth: false
    9. smoothCache: true
    10. }
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Nov 2010
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: WebKit / QML

    I had previously tried already the import QtWebKit 1.0 but I was getting the following error message:

    "module "QtWebKit" is not installed"

    I googled for this error message and found out that it seems to be a bug occurring on Mac :

    http://bugreports.qt.nokia.com/browse/QTCREATORBUG-3387

Similar Threads

  1. Replies: 4
    Last Post: 23rd September 2010, 16:20
  2. Qt Webkit
    By lyucs in forum Installation and Deployment
    Replies: 1
    Last Post: 26th June 2009, 20:31
  3. WebKit
    By navi1084 in forum Qt Programming
    Replies: 1
    Last Post: 5th September 2008, 12:56
  4. qt webkit
    By kernel_panic in forum Qt Programming
    Replies: 5
    Last Post: 4th November 2007, 21:03

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.