PDA

View Full Version : HELP! QtLibrary.. Load library failed!!



Cantora
10th June 2009, 03:52
Hi All,

I have created a sample application to load a plugin dll and my plugin dll will load another dll which is not the plugin structure..

example:
case 1:
my sample apps (plugin loader) -> dll (Qt plugin standard) -> dll (Qt normal dll)

*success

case 2:
3rd party apps -> dll (Qt plugin standard) -> dll (Qt normal dll)

* In this case, my "dll (Qt plugin standard)" not able to load the "dll (Qt normal dll)"

# I am using the QLibrary in "dll (Qt plugin standard)" to load the "dll (Qt normal dll)".
what is the possible problem to cause it able to load in my sample app but when I put the dll to 3rd party then it not able to work?

thanks all!

e8johan
10th June 2009, 11:18
Have a look for the build key part here, also there is a list of checks that Qt performs before loading a plugin.

http://doc.trolltech.com/4.5/plugins-howto.html