[Psi-devel] compiling psi on windows

Justin Karneges justin-psi2 at affinix.com
Fri Nov 10 01:43:04 PST 2006


On Thursday 09 November 2006 10:46 am, textshell-I1QKlO at neutronstar.dyndns.org 
wrote:
> On Wed, Nov 08, 2006 at 02:05:59PM -0500, Remko Troncon wrote:
> > Temporary in this case means: 'It will be changed before the official
> > release'. This is why we don't bother updating docs.
>
> please leave an option to compile qca plus plugins statically in the
> release, it would help compiling psi a lot.

If at the least for licensing reasons, Psi should not contain explicit 
references to OpenSSL.  This is part of the reason why the functionality is 
deferred to a plugin.  The current beta versions of Psi 0.11 would not be 
acceptable in Debian, for example.

The QCA library itself could be bundled inside Psi without any plugins, but 
then QCA could no longer be static.  It would have to exist as a dynamic 
shared library, otherwise it would not be able to use any plugins (it can 
only be static if plugins are also static).  I don't see a major reason for 
Psi to be installing a dynamic shared QCA library when the normal QCA 
distribution can do that already.

> It's ok if that support in the release is not the default and i would need
> to download qca and put it into the psi source tree. But installing QCA and
> plugins if QT is in /usr and i can't write there is a major pain. Linking
> staticly is a neat solution in that case, and anyway who else uses QCA?

QCA itself can be installed anywhere.  QCA plugins normally install into Qt's 
own directory, however you can skip the 'make install' step and simply copy 
the .so file to *any* Qt plugin path.  I agree this could be made more clear, 
I'll consider adding a configure option to plugins that set the path 
for 'make install'.  For now, just use 'cp'. :)

Here are the available Qt plugin paths:

  [qt_prefix]/plugins (unless changed when configuring Qt)
  [psi_prefix]/share/psi
  $HOME/.psi

(You may have more paths if you added any, such as with the 'qtconfig' 
utility.)

Remember that plugins must be copied into an appropriate subfolder based on 
the type.  For example, "[psi_prefix]/share/psi/crypto/libqca-openssl.so" 
should work.  So you don't have to install QCA plugins into a system area if 
you don't want to.

FWIW, Kopete uses QCA, as will KDE 4 in general.

-Justin


More information about the psi-devel mailing list