[Qt-interest] a question about QLibrary

Yifei Li yifli at mtu.edu
Thu Dec 3 22:39:02 CET 2009


Hi all,

Suppose I have two dlls : A.dll and B.dll.   A.dll is dependent on B.dll. 

I failed to load A.dll into my app using QLibrary, the error message is :
can not load library A.dll: (B.dll: can not open shared object file: No such file or directory)


I tried to put B.dll in the same directory ad A.dll, also tried putting B.dll in the same directory as my application, but still got the same error message.

So can anyone tell me the correct way to load a dll that depends on another dll at run-time?

Thanks

Yifei



More information about the Qt-interest-old mailing list