How to add file to QT resource file from code?

I want to add image, which was chosen by user in File Dialog, to resource file. I tried to find something in documentation, but without success. Is it posiible and how?


Resource files are compiled into your applications binary, they can't be modified at run-time like this.

Need Your Help

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.