[PyKDE] PyQt supporting rpath for qtext module?

Andreas Pakulat apaku at gmx.de
Sun Jul 30 01:04:49 BST 2006


On 29.07.06 18:29:19, Phil Thompson wrote:
> 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.

Thanks, I'll file a bugreport.

Andreas

-- 
Courage is your greatest present need.




More information about the PyQt mailing list