Results 1 to 6 of 6

Thread: QT 4.7: GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

  1. #1
    Join Date
    May 2009
    Location
    Vienna
    Posts
    91
    Thanks
    18
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation QT 4.7: GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

    Hi,
    I have problem with Qt 4.7 qt-sdk-linux-x86_64-opensource-2010.05.1.bin under ubuntu 9.04 amd64 bit, with default buttons. The pixmaps are not beeing shown.

    The file-open dialogs do not show the png for the open-butten, or in generall the png's for the directories, if i'm browsing through them..

    regards Astronomy

    Qt Code:
    1. (<unknown>:10800): GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure
    2.  
    3. (<unknown>:10800): Gtk-WARNING **: Error loading theme icon 'gtk-find' for stock: Interner Fehler: Bildlader-Modul »png« schaffte es nicht, eine Operation abzuschließen, gab aber keinen Grund für den Fehler an
    4.  
    5. (<unknown>:10800): GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure
    6.  
    7. (<unknown>:10800): GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure
    To copy to clipboard, switch view to plain text mode 

  2. #2

    Default Re: QT 4.7: GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

    From what I understand, there is a mismatch between the Qt libs and the pnglib on your machine. Looks like pnglib got updated by something and QT is now out of date.

    Anyone have any ideas on when the next Qt build will happen?

    My png version is: libpng-2:1.2.44-1.fc13(x86_64)

    I have a devel version with the exact same version # on it.

  3. #3
    Join Date
    Jun 2009
    Location
    Kraków, Poland
    Posts
    23
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: QT 4.7: GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

    I had similar errors during execution of an application inside QtCreator - custom icon theme for gnome caused problem - after switching it to default / standard ones everything's fine.

  4. #4
    Join Date
    Dec 2010
    Posts
    6
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: QT 4.7: GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

    Hi,
    sorry to writing to topic one month old, but i had this problem too and found a solution, so I think it will be handy for someone:

    Just run as root:

    update-mime /usr/share/mime/
    update-mime-database /usr/share/mime/
    gtk-update-icon-cache /usr/share/icons/YourTheme

    Logout/Login and it will be all right now :-)

  5. The following 2 users say thank you to nowrep for this useful post:

    mckelvin (18th July 2011), Oleg (16th September 2011)

  6. #5
    Join Date
    May 2011
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.7: GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

    Thanks a lot!it works!

    in my occasion it's
    Qt Code:
    1. sudo update-mime /usr/share/mime/
    2. sudo update-mime-database /usr/share/mime/
    3. sudo gtk-update-icon-cache /home/kelvin/.icons/Faenza
    To copy to clipboard, switch view to plain text mode 


    Quote Originally Posted by nowrep View Post
    Hi,
    sorry to writing to topic one month old, but i had this problem too and found a solution, so I think it will be handy for someone:

    Just run as root:

    update-mime /usr/share/mime/
    update-mime-database /usr/share/mime/
    gtk-update-icon-cache /usr/share/icons/YourTheme

    Logout/Login and it will be all right now :-)

  7. #6
    Join Date
    Jul 2014
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QT 4.7: GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

    Hi I'm new to this forum. I've just tried the above and I'm getting the following error under Linux Mint. Any idea what I'm doing wrong?

    $ sudo update-mime-database /usr/share/mime/
    Unknown media type in type 'all/all'
    Unknown media type in type 'all/allfiles'
    Unknown media type in type 'uri/mms'
    Unknown media type in type 'uri/mmst'
    Unknown media type in type 'uri/mmsu'
    Unknown media type in type 'uri/pnm'
    Unknown media type in type 'uri/rtspt'
    Unknown media type in type 'uri/rtspu'

Similar Threads

  1. Error while executing a application - Gtk WARNING
    By augusbas in forum Qt Programming
    Replies: 1
    Last Post: 12th June 2010, 13:25
  2. Replies: 2
    Last Post: 15th February 2010, 07:42
  3. phonon4QtmingW didn't work ??
    By Lakshmi.Bollavaram in forum Installation and Deployment
    Replies: 17
    Last Post: 18th November 2009, 16:10
  4. DLL Failure on Winblows
    By ComaWhite in forum Qt Programming
    Replies: 1
    Last Post: 7th September 2008, 17:07
  5. QWT assert failure
    By Andimat in forum Qwt
    Replies: 1
    Last Post: 21st June 2007, 15:36

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.