I would like to be able to enumerate the paths to the resources Qt has, for example:
:/new/prefix/blabla.jpg
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Qt can transparently use resources. This means you can like any filesystem use QDir to get the contents of any path in the resources — starting with
:/will give you the topmost resources folders contents. You can then recursely walk through the folders in the resources (or check the Qt documentation if there is anything already available).See also the detailed description of
QDir(): it explicitly states that it can get used with resources.