Bug using gtk style

Discuss anything related to product development
Post Reply
mortaromarcello
Posts: 7
Joined: Thu Jul 02 2015 7:09 am

Bug using gtk style

Post by mortaromarcello »

Hello. Using the gtk style, a program compiled with copperspice gives me this error:
'''
(simpletextviewer:6758): GdkPixbuf-WARNING **: Bug! loader 'png' didn't set an error on failure

(simpletextviewer:6758): Gtk-WARNING **: Error loading theme icon 'dialog-information' for stock: Errore interno: il modulo di caricamento immagine «png» non riesce a completare l'operazione, causa del problema sconosciuta
'''
mortaromarcello
Posts: 7
Joined: Thu Jul 02 2015 7:09 am

Re: Bug using gtk style

Post by mortaromarcello »

I define my debug function in my apps:

Code: Select all

#define MyDBG( args ) ( qDebug() << "File:" << __FILE__ << "Line:" << __LINE__ << "Function:" << __PRETTY_FUNCTION__ << "\n\t->" << args )
if compile this code in app:

Code: Select all

MyDBG(qApp->style()->standardIcon(QStyle::SP_DialogOkButton).name());
It return:
Gtk-WARNING **: Error loading theme icon 'gtk-ok' for stock: Errore interno: il modulo di caricamento immagine «png» non riesce a completare l'operazione, causa del problema sconosciuta
File: ../src/mediaapplet.cpp Line: 178 Function: void MediaApplet::openFile()
-> ""
The routine return a empty QString. Probably the problem is that the library is unable to load the icons stock.
Post Reply