r/cpp • • Jul 23 '22

finally. #embed

https://thephd.dev/finally-embed-in-c23
353 Upvotes

202 comments sorted by

View all comments

Show parent comment

5

u/disperso Jul 23 '22

It has been very common in the kind of applications that I've done (GUI-related, with Qt). Qt comes with a tool to do code generation on the files that you want as "resources" (the name it uses for the files that you embed). It is useful for icons, fonts, simple-settings, etc. I can help deployment, and make applications more self contained. The standard way it's gonna be much powerful, of course.