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. Enabling JavaScript in QWebKit 4.7 over Symbian
Forum Updated to NodeBB v4.3 + New Features

Enabling JavaScript in QWebKit 4.7 over Symbian

Scheduled Pinned Locked Moved Qt WebKit
3 Posts 3 Posters 4.3k 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.
  • H Offline
    H Offline
    hosamaly
    wrote on last edited by
    #1

    I am trying to build a Symbian (S60 5th ed.) application with Qt 4.7.0. My application contains a QWebView widget. In Qt 4.6.3 the web view was running JavaScript perfectly. However, once I upgraded to 4.7.0, JavaScript is no longer working, not even in the "anomaly" browser demo.

    I've tried to set JavaScript explicitly, but in vain.

    @QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled, true);
    ui->webView->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);@

    Both calls do not work, and calling

    @ui->webView->settings()->testAttribute(QWebSettings::JavaEnabled)@

    still yields false.

    What can I do to enable JavaScript in QtWebKit on Symbian?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      benjamin.poulain
      wrote on last edited by
      #2

      I think that should work out of the box.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Immii
        wrote on last edited by
        #3

        I have exact same code but I am not using QwebView rather I am using QGraphicsWebview but my plugin widget signals are not working, any idea/??

        1 Reply Last reply
        0

        • Login

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