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. Embedded Javascript hanging
Forum Updated to NodeBB v4.3 + New Features

Embedded Javascript hanging

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 2 Posters 975 Views 2 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.
  • B Offline
    B Offline
    brianz
    wrote on 15 Dec 2017, 21:14 last edited by
    #1

    I have an old application I'm supporting which is running Qt 4.8.6 via PyQt. The app has a WebView with a few javascript files embedded via the qrc mechanism.

    The application works fine for most people, but I've now seen a few reports from Mac users where the Javascript execution seems to hang. I'm not sure if there is a common OS version for these problematic cases, but it definitely started just recently.

    Any clues as to what could be causing this on the side of the Mac? I'm thinking some sytem-level security but really just guessing.

    0_1513372420156_Screenshot 2017-12-15 15.04.39.png

    K 1 Reply Last reply 16 Dec 2017, 12:40
    0
    • B brianz
      15 Dec 2017, 21:14

      I have an old application I'm supporting which is running Qt 4.8.6 via PyQt. The app has a WebView with a few javascript files embedded via the qrc mechanism.

      The application works fine for most people, but I've now seen a few reports from Mac users where the Javascript execution seems to hang. I'm not sure if there is a common OS version for these problematic cases, but it definitely started just recently.

      Any clues as to what could be causing this on the side of the Mac? I'm thinking some sytem-level security but really just guessing.

      0_1513372420156_Screenshot 2017-12-15 15.04.39.png

      K Offline
      K Offline
      Konstantin Tokarev
      wrote on 16 Dec 2017, 12:40 last edited by
      #2

      Qt 4.8.6 is long EOL, so indeed it's possible that is has troubles with modern macOS versions which didn't exist when it was released

      Is it happening inside sanbox, by chance?

      Anyway, you should consider migrating to Qt 5 ASAP

      1 Reply Last reply
      2

      1/2

      15 Dec 2017, 21:14

      • Login

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