Re: [Qt-jambi-interest] Icon problem

2008-03-28 Thread Bruno Janvier
yes it did work with the QPixmap call! On Fri, Mar 28, 2008 at 1:50 PM, Eskil Abrahamsen Blomfeldt < [EMAIL PROTECTED]> wrote: > 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

Re: [Qt-jambi-interest] Icon problem

2008-03-28 Thread Eskil Abrahamsen Blomfeldt
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/4

Re: [Qt-jambi-interest] Icon problem

2008-03-26 Thread Dimitri Frederickx
I've tested it on Mac OS X and Windows XP, both with Java 1.5. On both platforms the problem occured. /Dimitri Eskil Abrahamsen Blomfeldt <[EMAIL PROTECTED]> wrote: > Bruno Janvier wrote: > >>yes Dimitri. It did work when the icon was placed in an external jar. >>I hope this bug will be fixed

Re: [Qt-jambi-interest] Icon problem

2008-03-26 Thread Bruno Janvier
sure! Eclipse 3.3.2, Java 6.0_03, Windows XP Eskil Abrahamsen Blomfeldt wrote: > Bruno Janvier wrote: > >> yes Dimitri. It did work when the icon was placed in an external jar. >> I hope this bug will be fixed. >> >> > > This bug will definitely be fixed for the final release. Could I ask > on

Re: [Qt-jambi-interest] Icon problem

2008-03-26 Thread Eskil Abrahamsen Blomfeldt
Bruno Janvier wrote: >yes Dimitri. It did work when the icon was placed in an external jar. >I hope this bug will be fixed. > > This bug will definitely be fixed for the final release. Could I ask on which platform it happens, and what version of Java you are using please? -- Eskil _

Re: [Qt-jambi-interest] Icon problem

2008-03-25 Thread Bruno Janvier
yes Dimitri. It did work when the icon was placed in an external jar. I hope this bug will be fixed. Dimitri Frederickx wrote: > The problem is that your icon is just in a folder on your classpath. I'm > having > the same problem in my program. Try to put your program and icon in a jar > file

Re: [Qt-jambi-interest] Icon problem

2008-03-25 Thread Dimitri Frederickx
The problem is that your icon is just in a folder on your classpath. I'm having the same problem in my program. Try to put your program and icon in a jar file and then run the program. You will see that everything works then fine. Can you try that? I've put a lot of file one the classpath: conf

[Qt-jambi-interest] Icon problem

2008-03-25 Thread Bruno Janvier
Hello, the icons do not appear anymore using qt jambi 4.4 preview. In the following program, I see the following text printed on system.out: bmp gif jpeg jpg mng pbm pgm png ppm tif tiff xbm xpm and I see the push button without any icon: it is all grey. I attach the png icon I want to display.