Ah, nice one, thanks!
I also just stumbled over this which seems to work as well:
|QtCore.QResource(':qrc/images').children() |
Two arrows in the quiver now, sweet.
Thanks again,
frank
On 10/08/18 3:27 PM, Reinhardt Behm via Interest wrote:
QDir is your friend.
QDir dir(":/", "*");
QDir is your friend.
QDir dir(":/", "*");
qDebug() << dir.dirName() << dir.entryList();
--
Best Regards
Reinhardt Behm
On Friday 10 August 2018 14:47:39 Frank Rueter | OHUfx wrote:
> Hi,
>
> in my host application I can use the existing application resources for
> things like
Hi,
in my host application I can use the existing application resources for
things like icons etc like this:
QtGui.QIcon(':qrc/images/some_image.png')
Is it possible to get a list of everything in the application resources
to see what other images are available, i.e. everything under ":qr