QT_PLUGIN_PATH (Re: Install kimgio plugins in the Qt image format plugins dir)

Thiago Macieira thiago at kde.org
Sat Oct 27 18:18:08 BST 2007


Brad Hards wrote:
>On Saturday 27 October 2007 02:51:41 am Thiago Macieira wrote:
>> - make it configurable via -D switch in the cmake command-line
>> - default to something inside ${CMAKE_INSTALL_PREFIX}
>> - print at the end of configure that you need to set QT_PLUGIN_PATH
>> - do not check Qt's plugin path, ever
>
>My concern is that this will cause breakage at run-time (when QCA can't
> find its plugins, it doesn't really do much), because people won't set
> the plugin path, or will change it to something else when they install
> kdelibs to a different prefix.

If they are installing to a prefix that isn't /usr, then they have to 
configure other environment variables anyways.

QT_PLUGIN_PATH shouldn't be any different. It won't matter if and only if 
the user is installing to the same prefix as Qt was installed.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071027/b0e22858/attachment.sig>


More information about the kde-core-devel mailing list