I have software that uses the QtWebKit to display flash content using Qt 4.6.2 and flash plugin 10.0.45.2.

We are getting fairly sporadic results; on many systems it will work fine, but on others the Qt application crashes. On the machines that the Qt application crashes I have checked and the flash software works fine when running in Firefox.

So my question is does anyone know what the dependencies for the web kit are? I figure if Firefox works fine but Qt crashes during plugin loading there must be a lib I am missing or is mismatched. I know people have mentioned nspluginwrapper which I do have on the machine that it crashes on.

When the Qt application crashes, the text below is printed.

Qt Code:
  1. (process:18870): Gtk-CRITICAL **: gtk_clipboard_get_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  2. Adobe Flash Player: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);
  3. The program '<unknown>' received an X Window System error.
  4. This probably reflects a bug in the program.
  5. The error was 'BadColor (invalid Colormap parameter)'.
  6. (Details: serial 220 error_code 12 request_code 79 minor_code 0)
  7. (Note to programmers: normally, X errors are reported asynchronously;
  8. that is, you will receive the error a while after causing it.
  9. To debug your program, run it with the --sync command line
  10. option to change this behavior. You can then get a meaningful
  11. backtrace from your debugger if you break on the gdk_x_error() function.)
To copy to clipboard, switch view to plain text mode