PDA

View Full Version : linking plugins



themolecule
20th July 2008, 22:47
I've finally gotten the compiler to create a .dylib, but the QPluginLoader silently fails to load the plugin.

I know it's failing because the plugin refers to classes which are not linked in. I wanted to solve this by getting the dylib to resolve its symbols using the application... do I need to export symbols in the application or something?

Can someone give me a clue as to debugging this? I'm trying gdb but I can't seem to get very verbose information about how things are being resolved. Also, otool can show me what libraries are being used, but I can't seem to get verbose information from anywhere about what is failing and why.

I'm sure there is a unix command that I'm missing that will show me this information...