[SOLVED] Qt resources

Hi
I have developed an application using visual studio using the Qt plugin.
This application consists of numerous dynamic libraries which have their own resource files.
Now, when I come to use these resources within the library I find that I cannot access them unless I add the .qrc file to the application project.
Is this the only way to achieve this or is there a better way?
I have tried using Q_INIT_RESOURCE macro but this gives me an unresolved linker errror