add file to qrc command line
-
Hello.
I add a picture in a repository. I am looking for how to add in the code my picture to my qrc ressource.
In fact, i need to load the relative path from the picture that i added previously, in my compilate code. So it must be in qrc resource.
Any idea ? Thanks. -
You cannot modify the resources that are built in to your executable at run time.
To add a file to your resources at compile time you just need to modify the QRC file and rebuild your application. You can modify the QRC file using a dedicated editor, like the one in Qt Designer, or by simply editing the text file.