<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Peter Bradley a écrit :
<blockquote cite="mid:46702F2B.2050209@dsl.pipex.com" type="cite">
<pre wrap="">Two people (Laurent and Andreas) kindly pointed out that I need to run
configure.py, and say that this file is in the Python directory...
I have Python installed in C:\Python25. There is no configure.py in
that tree at all.
</pre>
</blockquote>
<----------------- it is in QScintilla-1.73-gpl-2.1\Python
directory!!<br>
<br>
<br>
<blockquote cite="mid:46702F2B.2050209@dsl.pipex.com" type="cite">
<pre wrap="">The only files called configure.py that I can find are in the QScintilla
download. Is that what I'm looking for? Is it in the right place?
</pre>
</blockquote>
<br>
Yeeeeeess in QScintilla-1.73-gpl-2.1\Python ;)<br>
Your near the end ;)<br>
<blockquote cite="mid:46702F2B.2050209@dsl.pipex.com" type="cite">
<pre wrap="">I'm also a bit puzzled by references to sip. I see that there is a
sub-folder in the QScintilla download. Was it (sip) installed when I
compiled and installed QScintilla? Or do I have to do something else?
</pre>
</blockquote>
I think (I'm not sure) that qscintilla binding use sip to wrap C++ or C
qscintilla into python module.<br>
So you need sip to build qscintilla python module.<br>
1) you buil the Qscintilla C library<br>
2) you build sip<br>
4) you build with sip the pyqt that will also know after that qsintilla
C library<br>
3) sip helps you then also to build python qscintilla build<br>
5) well you install eric :) that will use pyqt<br>
<br>
Perhaps I've done a mistake in my previous mail<br>
4 is before 5 ;)<br>
<blockquote cite="mid:46702F2B.2050209@dsl.pipex.com" type="cite">
<pre wrap="">Sorry if I'm sounding terminally thick, but I'm a bit confused by all this.
</pre>
</blockquote>
<br>
Was also before a complete successfull build ;)<br>
<blockquote cite="mid:46702F2B.2050209@dsl.pipex.com" type="cite">
<pre wrap="">Peter
_______________________________________________
Eric mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/eric">http://www.riverbankcomputing.com/mailman/listinfo/eric</a>
</pre>
</blockquote>
Chcek QScintilla-1.73-gpl-2.1\Python<br>
<br>
and also check this:<br>
<p>To build and install QScintilla, run:</p>
<p></p>
<pre> cd Qt4 <---------- it is in Qscintilla directory
qmake qscintilla.pro
make
make install
</pre>
<p>On Windows (and depending on the compiler you are using) you may
need to run <code>nmake</code> rather than <code>make</code>. If you
have built a Windows DLL then you probably also want to run:</p>
<p></p>
<pre> copy %QTDIR%\lib\qscintilla.dll %QTDIR%\bin
2)
Build pyqt
3)
</pre>
<h2>Python Bindings</h2>
<p>
The Python bindings are in the <code>Python</code> directory. You must
have either PyQt v3 or v4 already installed. QScintilla must also
already be built and installed.</p>
<p>The configure, build and install the bindings, run:</p>
<p></p>
python configure.py <----------------- it is in
QScintilla-1.73-gpl-2.1\Python directory!!<br>
make <br>
make install
<p>On Windows (and depending on the compiler you are using) you may
need to run <code>nmake</code> rather than <code>make</code>.</p>
<p>By default the bindings will be built for PyQt v4 if it is
installed.
If not, they will be built against PyQt v3. If you have both installed
and want to build against PyQt v3 then pass <code>-p 3</code> as an
argument to <code>configure.py</code>.</p>
<p><code>configure.py</code> supports a number of other arguments. Pass
<code>-h</code> to display a list of the supported arguments.<br>
</p>
<p><br>
Laurent<br>
</p>
</body>
</html>