Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. How do I use QWebSettings from QML (qt 5.6) ?
Forum Updated to NodeBB v4.3 + New Features

How do I use QWebSettings from QML (qt 5.6) ?

Scheduled Pinned Locked Moved Solved Qt WebKit
3 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Allstar12345
    wrote on 20 Mar 2018, 19:18 last edited by
    #1

    Hi,

    I'm a little stuck, first time I've used Webkit since Symbian and Qt 4.8 and it's a little different from them days, back in the day you could call settings.whatever from QML but it seems that's been removed in newer versions.

    Using 5.6 (Sailfish OS, they didn't remove Webkit and include WebEngine yet), importing WebKit 3.0

    Can't seem to see how I can use WebView in QML and still apply the web settings, does the class need exposing to QML or something?

    Thanks

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on 21 Mar 2018, 00:14 last edited by Konstantin Tokarev
      #2

      You are looking for WebView.experimental.preferences

      See also https://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html

      A 1 Reply Last reply 21 Mar 2018, 10:40
      2
      • K Konstantin Tokarev
        21 Mar 2018, 00:14

        You are looking for WebView.experimental.preferences

        See also https://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html

        A Offline
        A Offline
        Allstar12345
        wrote on 21 Mar 2018, 10:40 last edited by
        #3

        @Konstantin-Tokarev said in How do I use QWebSettings from QML (qt 5.6) ?:

        You are looking for WebView.experimental.preferences

        See also https://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html

        How did I miss that, thank you very much :)

        1 Reply Last reply
        0

        3/3

        21 Mar 2018, 10:40

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved