Hi,
I have file .qrc with pictures svg. I would want to visualize the figures in QIcon without to supply with l' exe. How I must make?
Hi,
I have file .qrc with pictures svg. I would want to visualize the figures in QIcon without to supply with l' exe. How I must make?
Hi giorgik,
I don't think you can use svg with QIcon.
See the QtSvg module for more documentation.
Regards,
Wladek
One second is long, everything longer than two seconds is definitely too long.
Yes, is possible:
QIcon(":/ostacolo.svg")
where the file risorsa.qrc:
<RCC>
<qresource>
<file>robot.svg</file>
<file>ostacolo.svg</file>
</qresource>
</RCC>
Bookmarks