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.
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
I am not familiar with follow version.
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
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.
Can i compile it as a original one?
(qmake && qmake install)
It will be possible in the next release, for now you have to follow instruction . Note that underlying build system has changed from qmake to cmake, so WEBKIT_CONFIG build options have different names now