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

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.

主站蜘蛛池模板: 永德县| 屯留县| 临城县| 新沂市| 郯城县| 安达市| 建平县| 罗城| 南溪县| 娄底市| 太和县| 岐山县| 奉新县| 方山县| 汉寿县| 吉木萨尔县| 犍为县| 大名县| 庆安县| 巫溪县| 陇西县| 临邑县| 个旧市| 博客| 左权县| 三门县| 林周县| 嘉义县| 临猗县| 石城县| 沾化县| 扬中市| 乐清市| 抚顺县| 龙游县| 高安市| 阜阳市| 盐城市| 历史| 沁水县| 通海县|