I need to add a background image to the UI. I did some research, and found two solutions,
(1) use projucer to add image as a binary data, then use ImageCache::getFromMemory
(2) use an external file, then ImageCache::getFromFile
It seems the method (1) is recommended. My problem is that I haven’t used the projucer to create or update the project file structure since first time exporting the project.
You can see my file structure in projucer is very clean.
Instead, I did all the file creation and some compilation directly in visual studio
I am afraid if now I add binary data using projucer, then exporting the project will remove all things that I modified using visual studio.
So what is the best practice? Can I make synchronise the project state in projucer and visual studio, and adding binarydata without changing the visual studio project config?