Hi, William.

On Sat, 18 Apr 2015 01:54:27 +0300, william.croc...@analog.com  
<william.croc...@analog.com> wrote:

> On 04/17/2015 12:53 PM, Igor Mironchik wrote:
>> Hi, guys.
>>
>> I have one problem: pixmap "usb-disconnected.png" doesn't draws  
>> correctly. Draws
>> absolutely nothing. And if click on this button application crashes.  
>> What is the
>> problem? Thank you.
>>
>
> Have you added the .png file to your .qrc file.

Yes, I have.

And if I do

QPixmap pixmap = QPixmap( ":/usb.png" );

or

QPixmap pixmap = QPixmap( ":/usb-disconnected.png" );

then pixmaps displays...


-- 
Best Regards,
Igor Mironchik.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to