Hi, Bruno.
I've tracked down your bug in QIcon, and wanted to let you know about a
possible work around for you that you can use until the bugfixed Qt
Jambi is released. Replace the following line in your code:
Bruno Janvier wrote:
> but.setIcon(new
> QIcon("classpath:images/iconshock/48/file_48.png"));
with
but.setIcon(new QIcon(new
QPixmap("classpath:images/iconshock/48/file_48.png")));
and I believe it should solve your problem, as it is seems only to be
the QIcon constructor which takes a String that suffers from the bug.
-- Eskil
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest