官术网_书友最值得收藏!

Using resources in style sheets

Qt provides us with a platform-independent resource system that allows us to store any type of files in our program's executable for later use. There is no limit to the types of files we can store in our executable  images, audio, video, HTML, XML, text files, binary files, and so on are all permitted.

The resource system is really useful for embedding resource files (such as icons and translation files) into the executable so that it can be accessed by the application at any time. To achieve this, we must tell Qt which files we want to add to its resource system in the .qrc file and Qt will handle the rest during the build process.

主站蜘蛛池模板: 海原县| 六枝特区| 岐山县| 古丈县| 苏州市| 印江| 西华县| 萨嘎县| 顺义区| 襄城县| 富宁县| 寻甸| 饶阳县| 伊川县| 南岸区| 阿图什市| 贵德县| 冀州市| 确山县| 东莞市| 乌鲁木齐市| 沁水县| 呼图壁县| 综艺| 台南县| 额敏县| 渭源县| 安康市| 察哈| 梁河县| 四川省| 五家渠市| 仁化县| 金寨县| 三河市| 留坝县| 怀柔区| 铜梁县| 北宁市| 定西市| 黑河市|