Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36591

REG: Webkit Java Applet is not shown correctly (crash in debug mode)

XMLWordPrintable

    • e5b7eec29191033fd71a782c18f5d8437e52856e

      Qt 5.2.0 Webkit crashes when opening Java applet that works correctly in Qt 4.8.5.

      Example with Java applet paget to reproduce crass:

      main.cpp
      #include <QApplication>
      #include <QWebView>
      #include <QWebSettings>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QWidget w;
          QWebView view(&w);
          view.setGeometry(0,100,1000,500);
          QWebSettings::globalSettings()->setAttribute(QWebSettings::JavaEnabled, true);
          QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
          QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled, true);
          view.load(QUrl("http://eassistant.nmmn.com/en/CompleteCheck.html"));
          w.show();
          return a.exec();
      }
      

      EDIT: Crash happens only in debug mode. But page is still not seen correctly in release mode comparing to Google Chrome or Qt 4.8.5.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mibrunin Michael Bruning
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes