[Qt-interest] QMessageBox icon don't show

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Tue Apr 7 16:58:38 CEST 2009


Marcelo Estanislau Geyer wrote on Tuesday, April 07, 2009 4:30 PM:

> I don't see icon using this simple code. I remember that I'm using
> KDE 4.2.1 of the Fedora 10. 

What about using the static method

  http://doc.trolltech.com/4.5/qmessagebox.html#warning

Do you see the icon then?

Also, are you able to display images at all, specifically the PNG format (I believe the Qt icons are in this format, embedded in the Qt libs)? That is, is your Qt built with PNG format support (by default it is)? Is the PNG plugin available (in case PNG format is compiled as plugin)? There is a Qt example "Image Viewer" (don't know the exact name) with which you can test. Also, what happens with other Qt applications (again, refer to the Qt/examples directory), do they properly show the "standard dialog icons"?


Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list