How do I bundle images into my static QT applications?
-
26-09-2019 - |
Question
I'm building a tool that has some .bmp icon images in it. When I build the application statically, the images must be placed inside the application's folder to run, which defeats the purpose of having a static application in the first place. Is there a way to get the images to be rolled into the application during the build process?
Solution
Qt has a resource system that solves this problem.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow