[Interest] get application's resources

Reinhardt Behm rbehm at hushmail.com
Fri Aug 10 05:27:46 CEST 2018


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 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 ":qrc/"?
> 
> Thanks,
> frank




More information about the Interest mailing list