[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] ANN PyQt v4.0 Released
From:       "imcs ee" <imcsee () gmail ! com>
Date:       2006-06-11 16:35:43
Message-ID: c56895250606110935u1fd187d0v3985d3cc2bf60171 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


sole,
I build Qt4 source with the patch file your told me.
(build with qconfigure msvc.net, and i uninstall mingw already)
and it looks working.(i can run the demo of qt4).
add qtbin to the PATH.
then i build sip as your said(configure,nmake,nmake install)
then i build pyqt4....configure returen the error.
the reason is the file(qtdirs.mk.Release) created by configure still use
mingw style setting. """CC            = gcc CXX           = g++"""
so, the building failed...

On 6/12/06, sole@esrf.fr <sole@esrf.fr> wrote:
>
> Hi,
>
> >if in install the binary pyqt4. then the pyqt4 sample can't execute with
> an
> >error: missing mingw10.dll...
>
> You have to build PyQT4 yourself. The binary is for the mingw stuff.
>
> You have to make sure you build Qt with vs 2003. If you have already done
> it go
> to QTDONE below.
>
> Install the  trolltech file. I always choose NOT to register any
> variables. I
> would propose to delete everything in the %QTDIR%\lib directory to make
> sure you
> actually build the library.
>
> Patch the sources following the instructions from the sourceforge
> downloaded files.
>
> Open a DOS command window preferrably from the Microsoft Platform SDK SP1.
>
> Call the vcvars32.bat of your studio 2003 installation.
>
> Make sure your environment variable QTDIR points to the directory where
> you
> installed Qt. If it is in the directory c:\Qt\4.1.3 you can do:
>
> set QTDIR=C:\Qt\4.1.3
>
> set PATH=%QTDIR%\bin;%QTDIR%\lib;%PATH%
>
> cd c:\Qt\4.1.3
>
> qconfigure msvc.net [add the options you may want, I choose the fast and
> release
> options]
>
> Let everything finish nad you should have your %QTDIR%\lib filled with the
> new
> libraries.
>
> QTDONE
>
> In the same window you should build sip and PyQt4 from source. No
> particular
> options there if python is in your path:
>
> python configure.py
> nmake
> nmake install
>
> first for sip and then for PyQt4.
>
> I hope I did not forget anything.
>
> Armando
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>

[Attachment #5 (text/html)]

<div>sole,</div>
<div>I build Qt4 source with the patch file your told me.</div>
<div>(build with qconfigure <a href="http://msvc.net">msvc.net</a>, and i uninstall \
mingw already)</div> <div>and it looks working.(i can run the demo of qt4).</div>
<div>add qtbin to the PATH.</div>
<div>then i build sip as your said(configure,nmake,nmake install)</div>
<div>then i build pyqt4....configure returen the error.</div>
<div>the reason is the file(qtdirs.mk.Release) created by configure still use mingw \
style setting. &quot;&quot;&quot;CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
= gcc CXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = \
g++&quot;&quot;&quot;</div> <div>so, the building failed...<br>&nbsp;</div>
<div><span class="gmail_quote">On 6/12/06, <b class="gmail_sendername"><a \
href="mailto:sole@esrf.fr">sole@esrf.fr</a></b> &lt;<a \
href="mailto:sole@esrf.fr">sole@esrf.fr</a>&gt; wrote:</span> <blockquote \
class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: \
#ccc 1px solid">Hi,<br><br>&gt;if in install the binary pyqt4. then the pyqt4 sample \
can't execute with an<br>&gt;error: missing  mingw10.dll...<br><br>You have to build \
PyQT4 yourself. The binary is for the mingw stuff.<br><br>You have to make sure you \
build Qt with vs 2003. If you have already done it go<br>to QTDONE \
below.<br><br>Install the&nbsp;&nbsp;trolltech file. I always choose NOT to register \
any variables. I <br>would propose to delete everything in the %QTDIR%\lib directory \
to make sure you<br>actually build the library.<br><br>Patch the sources following \
the instructions from the sourceforge downloaded files.<br><br>Open a DOS command \
window preferrably from the Microsoft Platform SDK SP1. <br><br>Call the vcvars32.bat \
of your studio 2003 installation.<br><br>Make sure your environment variable QTDIR \
points to the directory where you<br>installed Qt. If it is in the directory \
c:\Qt\4.1.3 you can do:<br><br> set QTDIR=C:\Qt\4.1.3<br><br>set \
PATH=%QTDIR%\bin;%QTDIR%\lib;%PATH%<br><br>cd c:\Qt\4.1.3<br><br>qconfigure <a \
href="http://msvc.net">msvc.net</a> [add the options you may want, I choose the fast \
and release<br>options]<br> <br>Let everything finish nad you should have your \
%QTDIR%\lib filled with the new<br>libraries.<br><br>QTDONE<br><br>In the same window \
you should build sip and PyQt4 from source. No particular<br>options there if python \
is in your path: <br><br>python configure.py<br>nmake<br>nmake install<br><br>first \
for sip and then for PyQt4.<br><br>I hope I did not forget \
anything.<br><br>Armando<br><br><br>-------------------------------------------------<br>This \
mail sent through IMP:  <a \
href="http://horde.org/imp/">http://horde.org/imp/</a><br></blockquote></div><br>



_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic