You do it the same way as you would in your app. (i.e. via the RESOURCES qmake variable).
But: read the the Resource System part of the Qt documentation; especially the last paragraph.
If there is a possibility that your library is getting linked statically, you must use Q_INIT_RESOURCE.
Bookmarks