- Qt5 C++ GUI Programming Cookbook
- Lee Zhi Eng
- 123字
- 2021-07-02 12:17:53
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.
推薦閱讀
- 腫瘤營(yíng)養(yǎng)診療規(guī)程
- 常用運(yùn)動(dòng)損傷理療技術(shù)操作手冊(cè)
- 人體寄生蟲(chóng)學(xué)實(shí)驗(yàn)與學(xué)習(xí)指導(dǎo)(第2版)
- 疑難雜癥中的心身疾病
- 人體寄生蟲(chóng)學(xué)(第2版)
- 實(shí)用甲狀腺疾病診療學(xué)
- 超聲醫(yī)學(xué)??颇芰ㄔO(shè)專用初級(jí)教材:介入分冊(cè)
- 咳嗽百家百方
- 實(shí)用胃腸病臨床手冊(cè)
- 感冒百家百方
- 朱德生皮膚病學(xué)(第5版)
- 臨床麻醉難點(diǎn)解析(第2版)
- 兒童音樂(lè)治療理論與應(yīng)用方法
- 放射診斷學(xué)讀片:北京協(xié)和醫(yī)院放射十年影像薈萃
- Mastering Blockchain Programming with Solidity