[PyQt] Qscintilla api location in PyQt4

Phil Thompson phil at riverbankcomputing.com
Wed Apr 3 00:44:56 BST 2013


On Tue, 2 Apr 2013 12:28:54 -0500, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> A bit of a discrepancy in API locations:
> 
> In the Qscintilla source, the default location to place the API files is
> QT_INSTALL_DATA/qsci, for both the Qscintilla library compilation and
the
> Qsci PyQt module compilation.
> 
> In the PyQt source, the default location for the API files is QTDIR/qsci
> (that's what "configure.py --help" tells me).
> 
> On OS X, at least, QT_INSTALL_DATA is defined in qmake, QTDIR is not
(and
> it's not something most OS X users will think to define in the shell, if
> they even know what the QTDIR should be because the OS X Qt installation
is
> weird), so PyQt API files could end up at the root /qsci, unless it's
> configured with the -n flag to set the location.
> 
> If QTDIR is something like an install prefix, QTDIR/qsci is probably not
> right on other systems with a defined QTDIR anyways.

QTDIR is shorthand for the root of your Qt installation - it's not an
environment variable.

Suggestions welcome for a clearer way of expressing this.

Phil


More information about the PyQt mailing list