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

List:       pykde
Subject:    Re: [PyQt] [SIP] Python crash with QString
From:       Demetrius Cassidy <dcassidy36 () gmail ! com>
Date:       2011-09-09 21:45:15
Message-ID: CAKaEBmXa+d0fxUnY=YeURYmse9L4vrqL1FfThVEBsTo8jrPuaw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Well, my educated guess is it's because PyQt4 is being compiled with VS2010,
but the Python binaries are all compiled under VS2008. I've had issues
before trying to use sip/PyQt4 compiled with VS2010, with Python compiled
with 2008, in that strings would end up being blank or having odd crashes
going from C++ to Python.

To keep it short, I do not recommend you mix dlls created with VS2010 with
Python built under VS2008, it has tended to cause issues at least for me.

On Fri, Sep 9, 2011 at 9:20 PM, Jens Thoms Toerring <jt@toerring.de> wrote:

> Hi Demetrius,
>
> On Fri, Sep 09, 2011 at 09:04:28PM +0000, Demetrius Cassidy wrote:
> > Is Python also compiled with VS2010?
>
> Honestly, I can't tell - I got that installation and was told
> to use it as it is. My guess is that the Python version (2.7)
> was simply a binary download, gotten from somewhere I have no
> ideas about. Is there a way to find out about that? And would
> that make a lot of a difference? All I can tell at the moment
> is that a lot of other stuff that to me looks much nore complex
> to me seems to work. Please keep in mind that my experience with
> Windows is basically non-existent, so I need quite a bit of
> handholding and probably will have to ask really stupid ques-
> tions...
>                      Thanks and best regards, Jens
> --
>   \   Jens Thoms Toerring  ________      jt@toerring.de
>   \_______________________________      http://toerring.de
>

[Attachment #5 (text/html)]

Well, my educated guess is it&#39;s because PyQt4 is being compiled with VS2010, but \
the Python binaries are all compiled under VS2008. I&#39;ve had issues before trying \
to use sip/PyQt4 compiled with VS2010, with Python compiled with 2008, in that \
strings would end up being blank or having odd crashes going from C++ to Python.<div> \
<br></div><div>To keep it short, I do not recommend you mix dlls created with VS2010 \
with Python built under VS2008, it has tended to cause issues at least for me. \
<br><br><div class="gmail_quote">On Fri, Sep 9, 2011 at 9:20 PM, Jens Thoms Toerring \
<span dir="ltr">&lt;<a href="mailto:jt@toerring.de">jt@toerring.de</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">Hi Demetrius,<br> <div class="im"><br>
On Fri, Sep 09, 2011 at 09:04:28PM +0000, Demetrius Cassidy wrote:<br>
&gt; Is Python also compiled with VS2010?<br>
<br>
</div>Honestly, I can&#39;t tell - I got that installation and was told<br>
to use it as it is. My guess is that the Python version (2.7)<br>
was simply a binary download, gotten from somewhere I have no<br>
ideas about. Is there a way to find out about that? And would<br>
that make a lot of a difference? All I can tell at the moment<br>
is that a lot of other stuff that to me looks much nore complex<br>
to me seems to work. Please keep in mind that my experience with<br>
Windows is basically non-existent, so I need quite a bit of<br>
handholding and probably will have to ask really stupid ques-<br>
tions...<br>
                      Thanks and best regards, Jens<br>
<font color="#888888">--<br>
</font><div><div></div><div class="h5">  \   Jens Thoms Toerring  ________      <a \
href="mailto:jt@toerring.de">jt@toerring.de</a><br>  \_______________________________ \
<a href="http://toerring.de" target="_blank">http://toerring.de</a><br> \
</div></div></blockquote></div><br></div>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

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