[PyQt] problems to setText in a lineEdit widjet

2010-02-25 Thread Massimo Di Stefano
Hi All, I'm tring to embedd a matplotlib_figure + matplotlib_mouse_action inside a pyqt gui the figure i'm plotting is displaied ok in pyqt but i have problems to send the text from the mouse action to a line edit. i id an external class delegate to this job, but i'm not a good programmer and

[PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread projetmbc
Hello, I've downloaded qt-sdk-mac-opensource-2010.02.dmg . I've installed it. Then I've downloaded PyQt-mac-gpl-4.7 and sip-4.10. I've compiled sip using the following commands : python3.1 configure.py make sudo make install No problem. Then I decide, because I'm a crazy man :-) to compile

Re: [PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread Massimo Di Stefano
Hi You need the 64bit version of Qt (cocoa) then to build sip and pyqt i used : SIP : python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \ -e /usr/local/include -v /usr/local/share/sip --arch=x86_64 PYQT : python2.6 configure.py -d /Library/Python/2.6/site-packages

Re: [PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread Darren Dale
On Thu, Feb 25, 2010 at 8:33 AM, Massimo Di Stefano massimodisa...@yahoo.it wrote: Hi You need the 64bit version of Qt (cocoa) This assumes a 64-bit python-3 installation. How was python installed? My understanding is that the universal Mac binaries provided at python.org do not include support

Re: [PyQt] Problem displaying images in QLabel (Newbie)

2010-02-25 Thread Nick Gaens
I'm guessing it has to do with the .png file not being found, but without some example code, only supernatural powered humans can help you :-). On Wed, Feb 24, 2010 at 4:11 PM, bar tomas barto...@gmail.com wrote: Hi, I'm programming in PyQt using the Eric4 IDE and QtDesigner. I've created a

Re: [PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread Massimo Di Stefano
I used the system python that comes with snow-leopard, it is 64-bit. if you need to build all in 32 bit mode, you can use your already installed Qt (don't need the cocoa version) and use to build sip an pyqt : SIP : python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin

Re: [PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread Brian Kelley
When making Qt 32 bit builds on snow leopard, you probably also want to set this environment variable: export VERSIONER_PYTHON_PREFER_32_BIT=yes Note that if you want to build python 3.x 64 bit on Snow Leopard, your best bet is downloading the source and making the framework build. There is a

Re: [PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread projetmbc
This assumes a 64-bit python-3 installation. How was python installed? My understanding is that the universal Mac binaries provided at python.org do not include support for x86_64. In that case, how can I use PyQt on Snow Leopard ? ___ PyQt mailing

Re: [PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread Brian Kelley
Option 1: (64 bits Python 2.6) Easiest You can use PyQt out of the box with the DEFAULT python 2.6 Framework install and Qt 4.6 default framework. 64 bit Option 2: (32 bits Python 3.x) Second Easiest You can install Python 3.x default framework, manually build Qt 4.6 in 32 bit mode and

Re: [PyQt] PyQt Digest, Vol 67, Issue 42

2010-02-25 Thread Mitchell L Model
Just for the record, since a fair number of us are trying to put PyQt together on Snow Leopard (and you can search the archives for our frustrations and hints) you also need to compile Python as 64-bit, rather than using the Python installers, which were built on Leopard and are not

Re: [PyQt] PyQt Digest, Vol 67, Issue 43

2010-02-25 Thread Mitchell L Model
Where are you getting a 64-bit Qt framework? When I tried this several months ago all i could find was a 32-bit version, but that might have been for Qt4.5. On Feb 25, 2010, at 10:31 AM, pyqt-requ...@riverbankcomputing.com wrote: Message: 6 Date: Thu, 25 Feb 2010 07:31:17 -0800 From:

[PyQt] SIP dll import error 193

2010-02-25 Thread jenglund
Hi, I am trying to compile PyQt/SIP for Vista 64-bit. I have Python 2.5 64-bit installed, and successfully configured/compiled sip 4.10 using the msvc2005 x64 command line. However, when I try 'from sip import *' from the python command line, I get 'Import Error: DLL load failed with error

Re: [PyQt] 64 bits and Snow Leopard make me crazy

2010-02-25 Thread projetmbc
Thanks for this information and for the link. C. == When making Qt 32 bit builds on snow leopard, you probably also want to set this environment variable: export VERSIONER_PYTHON_PREFER_32_BIT=yes Note that if you want to build python 3.x 64 bit on Snow Leopard, your best bet