PDA

View Full Version : Compiled resources in shared library



magland
20th June 2007, 23:33
Please, could somebody tell me how to compile image resources (say an icon) into a shared library. The RESOURCES += myfile.qrc doesn't seem to be working in the case of a shared library, whereas it works fine for an app.

magland
21st June 2007, 05:57
I found what to do... just manually invoke rcc and then link the resulting .cpp file. But I'm still not sure why RESOURCES += myfile.qrc doesn't seem to work in the case of a library.

Wow! That's two questions in a row that I needed to answer for myself... Wysota must be taking a break!!! :D (or perhaps sleeping)