[Qt-interest] QLibrary loading works on one machine, not on another
Jaco Naude
naude.jaco at gmail.com
Mon Jan 19 17:01:17 CET 2009
Didn't get any response on this. However figured out today that each DLL
needs to be able to locate all the DLLs that it was linked against by
setting up the paths correctly on the different PC. If all the DLLs can't be
found, the error message below is given. Not a very descriptive error
message though.
Cheers
Jaco
On Wed, Jan 14, 2009 at 8:18 AM, Jaco Naude <naude.jaco at gmail.com> wrote:
> Hi there,
>
> I've run into a very strange problem. I'm developing an application on one
> machine (WinXP) on which it works just fine. Moving it to another WinXP
> machine and trying to run it causes some problems. The application runs fine
> but a couple of libraries fail to load.
>
> Below is some output for a component working fine in the system, and one
> that is failing.
>
> *Loading components from
> D:/Jaco_projek/VisualWorkspace/trunk/Application/bin/HelpSystem.dll
> Registering HelpSystemComponent component
>
> Loading components from
> D:/Jaco_projek/VisualWorkspace/trunk/Application/bin/LoggingSystem.dll
> Could not load
> "D:/Jaco_projek/VisualWorkspace/trunk/Application/bin/LoggingSystem.dll":
> QLibrary::load_sys: Cannot load LoggingSystem (The specified module could
> not be found.)*
>
> I've even rebuilt the whole project on that machine but it still fails even
> with the libraries generated by the compiler on that machine.
>
> If anyone have seen this behavior before, or have any idea why it is
> happening, please let me know.
>
> Thanks in advance,
> Jaco Naude
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090119/d3304542/attachment.html
More information about the Qt-interest-old
mailing list