[Interest] QLibrary multiple loading
Thiago Macieira
thiago.macieira at intel.com
Tue Nov 4 09:56:43 CET 2014
On Tuesday 04 November 2014 11:35:55 Serge K wrote:
> As I know from docs and my own experience QLibrary loads each DLL only
> once. While next load attempt it just increases usage counter. This means
> all DLL ’s static data are loaded only once too. But I need allow
> different threads load each own copy of DLL with it’s own copy of static
> data.
Then make them different DLLs. That is, give the DLL different file names and,
possibly, different SONAMES.
This is not a Qt restriction. It's a restriction of the underlying library-
loading mechanism.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list