CoutPotato
CoutPotato

Reputation: 535

How do I bundle images into my static QT applications?

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?

Upvotes: 1

Views: 235

Answers (1)

Dr. Snoopy
Dr. Snoopy

Reputation: 56377

Qt has a resource system that solves this problem.

Upvotes: 4

Related Questions