c++ - Query number of resources in a Qt Resource Collection (.qrc) -
i compiling multiple qt linguist message files (.qm) qt resource collection file (.qrc). translatons.qrc
file compiled application via rcc
, can access resources via ":/translations/<locale_name>.qm"
.
is there way query number of resources specific prefix?
in case, when add 2 .qm files .qrc file programmatically obtain result 2
. class qresource not seem fulfill such request, since seems work resources directly. using qt v5.4.
you may work resource system in same manner, file system, example:
qdir( ":/translations" ).entrylist()
Comments
Post a Comment