[Qt-interest] how to set dll path
Jeremy Lainé
jeremy.laine at bolloretelecom.eu
Tue Sep 20 14:58:07 CEST 2011
Le Sep 20, 2011 à 1:00 PM, Vincent Cai a écrit :
> Dear all,
>
> I am newbie with QT. :)
> Current, I am trying to create an application with external dll.
> I can create dll successfully.
> And if I copy the dll to the application directory, the application can load dll and run correctly.
>
Unless you are talking about a plugin, to my knowledge no Qt code can help you here : the application will simply not run as the links to the library cannot be resolved.
You can try adding the directory which contains the DLL to the PATH environment variable though.
--
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
More information about the Qt-interest-old
mailing list