hi, i am newbie to perlqt.....it made me easy in devloping gui but i have a problem in getting image on button. during design time button was showing pixmap on it....but when running perl script after compiling with PUIC, i could not see the same pixmap on button...
can anyone help me from this problem....
note: path of image is specified.
thanks in advance......
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, i am newbie to perlqt.....it made me easy in devloping gui but i have a problem in getting image on button. during design time button was showing pixmap on it....but when running perl script after compiling with PUIC, i could not see the same pixmap on button...
can anyone help me from this problem....
note: path of image is specified.
thanks in advance......
did you save your pixmaps inline?
right click on form => Fom Settings =>Save inline checkbox.
You can also use external pixmaps but then you need to generate an image collection with puic and then 'use' it. See puic --help or the documentation.
Greetings,
Germain
hi
thanks for ur reply.....
i got the solution...
instead of setPixmap i used setPaletteBackgroundPixmap method of pushbutton..its working fine.....