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. Crash on navigator.plugins javascript
Forum Updated to NodeBB v4.3 + New Features

Crash on navigator.plugins javascript

Scheduled Pinned Locked Moved Unsolved Qt WebKit
6 Posts 2 Posters 1.5k 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.
  • B Offline
    B Offline
    borisa
    wrote on last edited by
    #1

    Hi,

    Qt-5.7.0
    Qt-WebKit-5.7.0

    I am using qt webkit to display webpage.
    My webpage have tow or more jave script.
    One of the script line: if( typeof navigator.plugins != UNDEF && typeof navigator.plugins[SHOCKWAVE_FLASH] == OBJECT)
    My application crashes on navigator.plugins[SHOCKWAVE_FLASH], i dont know why.
    It's happens only on centos 6.4, tested it on centos 6 or 7 and it woks well.
    Please help.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      Such error may be caused by miscompilation, i.e. crashing version was built by buggy version of compiler and working versions were not. Anyway, without gdb backtrace it's hard to guess anything.

      You may also want to try using https://github.com/annulen/webkit/releases/tag/qtwebkit-tp4 in place of of QtWebKit 5.7

      1 Reply Last reply
      0
      • B Offline
        B Offline
        borisa
        wrote on last edited by borisa
        #3

        Hi,
        I am not familiar with follow version.
        https://github.com/annulen/webkit/releases/tag/qtwebkit-tp4
        Can you give me more details about it?
        Is it official version?

        I am working with http://www.linuxfromscratch.org/blfs/view/svn/x/qtwebkit5.html
        Thx

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by
          #4

          More details: http://qtwebkit.blogspot.com/2016/08/qtwebkit-im-back.html

          This is not an official release yet, though it's used by many people as a part of several projects, and is reported to be more stable than legacy QtWebKit.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            borisa
            wrote on last edited by
            #5

            Thx,

            Can i compile it as a original one?
            (qmake && qmake install)

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Konstantin Tokarev
              wrote on last edited by
              #6

              It will be possible in the next release, for now you have to follow instruction [1]. Note that underlying build system has changed from qmake to cmake, so WEBKIT_CONFIG build options have different names now

              [1] https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux

              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