如何在 QML 的 .qrc 资源文件中指定通配符? [英] How to specify wildcards in .qrc resource file of QML?

查看:12
本文介绍了如何在 QML 的 .qrc 资源文件中指定通配符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个目录中有 x 个 .png 文件.
我不想手动添加所有这些,而是​​想在 .qrc 文件中指定目录路径并让它自己包含所有这些.

There are x number of .png files in a directory.
Instead of adding all these manually I would want to specify the directory path in the .qrc file and let it include all of them on its own.

实现这一点的方法是什么?

What is the way to achieve this?

推荐答案

不,这还不可能,请参阅 此错误报告了解详情.

No, this is not yet possible, see this bugreport for details.

这篇关于如何在 QML 的 .qrc 资源文件中指定通配符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆