kdebindings, generator, LD_LIBRARY_PATH

Thiago Macieira thiago at kde.org
Mon Nov 2 20:09:39 CET 2009


Em Segunda-feira 2. Novembro 2009, às 10.55.08, Yury G. Kudryashov escreveu:
> On Monday 02 November 2009 20:13:45 David Faure wrote:
> > > > QLibrary lib("generator_smoke"); lib.load().
> > >
> > > Can you tell QLibrary to search in an additional directory ?
> >
> > Yes, see QApplication::addLibraryPath().
> 
> It seems that applicationDirPath is always in libraryPaths but
> app.libraryPaths() is not used in QLibrary code. They use
>  app.libraryPaths() for Qt plugins, not QLibrary.

Set LD_LIBRARY_PATH then.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20091102/a8a51e58/attachment.sig 


More information about the Kde-buildsystem mailing list