This will lead you to the right path:
foreach( const QString &imageName, QDir(":").entryList() ) { myCombBox->addItem( imageName ); }
This is if all your images are at the root of your resource file. If they are replaced with names, replace ":" with :/image_namespace
In any case, ":" considered to be the actual directory containing all your resources, and is accessible just like your file system.
Chris
source share