Results 1 to 3 of 3

Thread: QtWebKit and Flash plugin crash

  1. #1
    Join Date
    Jan 2006
    Posts
    17
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QtWebKit and Flash plugin crash

    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 

  2. #2
    Join Date
    Jun 2010
    Posts
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: QtWebKit and Flash plugin crash

    I too having same problem with my QT 4.6.2 linux version. Please any one help us.
    Last edited by Peter Jerald; 30th July 2010 at 08:04.

  3. #3
    Join Date
    Aug 2009
    Posts
    10
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: QtWebKit and Flash plugin crash

    I am having this same issue with qt 4.6.2 on kubuntu 10.04 also. I did a couple of bug searches on nokia's site and I didn't find anything relating to this issue. I think a bug report is warranted.

Similar Threads

  1. Opening local flash(.swf) file in QtWebKit?
    By DanLT3 in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2011, 15:22
  2. Running flash in QtWebkit
    By jay in forum Qt Programming
    Replies: 2
    Last Post: 16th June 2010, 10:44
  3. qtwebkit and quicktime plugin
    By kompotFX in forum Qt Programming
    Replies: 1
    Last Post: 7th May 2010, 19:16
  4. QtWebKit and flash performance issues
    By caelestis in forum Qt Programming
    Replies: 0
    Last Post: 7th February 2010, 05:08
  5. How to open pdf in plugin with qtwebkit
    By Timmer in forum Qt Programming
    Replies: 1
    Last Post: 23rd July 2009, 10:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.