[Qt-jambi-interest] Designer [QtJambi 4.4] doesn't like Pixmap

Arne Stocker arne at bdeichmann.de
Mon May 26 15:58:23 CEST 2008


Dear Trolltech Team

it seems that the Designer in the QtJambi 4.4 doesn't like Pixmaps. As 
shown in the attachment it's impossible to resume the selectbox when a 
picture ist selected (because the OK Button is disabled).

The picture is a file.png and it's packed in a *.jar file. I also 
realised that in QtJambi 4.4 it's impossible to call

   QIcon icon = new QIcon("classpath:icons/file.png");

when the jar file is in the classpath. As a workaround

   QIcon icon = new QIcon(new QPixmap("classpath:icons/file.png");

did it. The QIcon worked in QtJambi 4.3. Was there a change in the design ?

At least I have a really lot of error messages like that

   QPainter::begin: A paint device can only be painted by one painter at 
a time

several times a second. I did no painting at all, just use some Dialogs 
with some Icons in it. Could there be a coherence ?

thank you
best regards

Arne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fehler_resource.jpg
Type: image/jpeg
Size: 51894 bytes
Desc: not available
Url : http://lists.trolltech.com/pipermail/qt-jambi-interest/attachments/20080526/5f3ee956/attachment-0001.jpg 


More information about the Qt-jambi-interest mailing list