[Qt-interest] 答复: 答复: 答复: plugins directory

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Dec 23 12:40:22 CET 2010


On 2010-12-23 Pengliang(彭亮) pengliang(彭亮) wrote:

> ...
> Does the program only search the libraries in "/usr/local/Trolltech/Qt-4.7.1/plugins"?

No. Refer to 

- http://doc.trolltech.com/latest/plugins-howto.html#locating-plugins
- http://doc.trolltech.com/latest/deployment.html
- http://doc.trolltech.com/latest/deployment-plugins.html

Also 'ldd' is your friend in figuring out the dependencies (also those of plugins!). Make sure all these dependencies are proplery located in any LD_LIBRARY_PATH or runtime path of the executable!

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22




More information about the Qt-interest-old mailing list