Hello!

i have wrote a small widget which displays some images as some kind of "status-LED".

I have compiled the widget as a static lib so that later i can link it into any program i want. The images are defined in a file called "images.qrc" and in the RESOURCE option of my qmake file.

Now i can compile the widget and my program which links against the static lib of the widget. After i start the program everything works except that i don't see the images. I just see some coloured lines. It looks like something like a defect image-file.

If i add the "images.qrc" also to the RESOURCE option of the application which links against the widget lib than the images will be displayed just fine.

But i think this is somehow circular to add to every application the "images.qrc" shouldn't the image already be integrated into the static lib?

Does someone as an idea what's wrong?

I hope i could explain the problem... If you have any question, just ask!

Thanks!