[PyKDE] PyQt supporting rpath for qtext module?
Phil Thompson
phil at riverbankcomputing.co.uk
Sat Jul 29 18:29:19 BST 2006
On Sunday 16 July 2006 8:27 pm, Andreas Pakulat wrote:
> Hi Phil,
>
> do you see a way for the PyQt build system to use gcc's rpath feature
> for QScintilla if QScintilla is not in /usr/lib and /usr/local/lib?
>
> For testing the fix of the auto-indentation for ':' I installed
> qscintilla into $HOME/qscintilla1.7 and thus qtext module cannot be
> loaded due to the qscintilla lib not beeing found.
>
> I know I can set LD_LIBRARY_PATH, but I'm lazy and probalby forget to
> unset it again when qscintiall 1.7 is released and arrives in Debian. I
> think the rpath-thing from gcc is really handy for these things as that
> way the qtext module would pick up the exact qscintilla I gave to it on
> the configure.py line and not some random qscintilla which happens to be
> first in the library path.
The build system already supports rpath - if your Qt installation hasn't been
altered.
A stock Qt3 defines QMAKE_RPATH in mkspecs/linux-g++/qmake.conf.
Gentoo (for one) defines it as an empty string - looks like Debian does the
same.
Phil
More information about the PyQt
mailing list