In my project , I add a ".qrc" file.Here is its contents:
Before add this file, my ".exe" file is 100KB. After add, it's 204KB. And thoes two picures are 120KB. So as i see it, the qt resource is compiled into ".exe" files.Qt Code:
<RCC> <qresource prefix="/iSchema" > <file>Resources/Winter.jpg</file> <file>Resources/action_new.png</file> </qresource> </RCC>To copy to clipboard, switch view to plain text mode
I don't liks this way.
1.The ".exe" file will be biger and biger if I add more and more picture.
2.If I change some picture ,I have to recompile the ".exe" file.
Could you tell my how to comile qt resouce files (such as picture and langure files) to a ".dll" file ? And in my ".cpp" file ,how to use it?
Bookmarks