How many qm files are in rcc file
Solved
General and Desktop
-
Hi everyone,
I have multiple .qm files in my project. I am bundling these .qm files into rcc file. I am loading dynamic rcc file. The problem am facing is, how will i know that how many .qm files are in the respective rcc file.
Thanks in advance.
-
Hi
You can enumerate themQDirIterator it(":", QDirIterator::Subdirectories); while (it.hasNext()) { qDebug() << it.next(); }
but i wonder why you need to know how many?
Is knowing the name not enough ? -
You should treat the rcc file like a local file system. Given this concept, try the following.
Dir dir(":/") qDebug() << dir.entryList() << endl; qDebug() << dir.entryList().size() << endl;
-
@dheerendra thanks for your help. It worked.
-
@KiranRudigi is your issue solved? if so please don't forget to mark your post as such. Thanks