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
'''
Bug using gtk style
-
- Posts: 7
- Joined: Thu Jul 02 2015 7:09 am
Re: Bug using gtk style
I define my debug function in my apps:
if compile this code in app:
It return:
Code: Select all
#define MyDBG( args ) ( qDebug() << "File:" << __FILE__ << "Line:" << __LINE__ << "Function:" << __PRETTY_FUNCTION__ << "\n\t->" << args )
Code: Select all
MyDBG(qApp->style()->standardIcon(QStyle::SP_DialogOkButton).name());
The routine return a empty QString. Probably the problem is that the library is unable to load the icons stock.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()
-> ""