Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-16 Thread Phil Thompson
On Tue, 15 Sep 2009 17:11:51 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: I'm working on building off sip/pyqt now. In sipconfig.py, I find that the arch option for the makefiles is hardwired to default to ppc i386, and the universal sdk to empty. Shouldn't these match how sip

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-15 Thread William Kyngesburye
On Sep 13, 2009, at 6:12 AM, Phil Thompson wrote: I've added a --use-arch option to PyQt's configure.py to tell it to use arch in the pyuic4 wrapper script. If there is a problem with /usr/bin/python then you should run configure.py using /usr/bin/ python2.6 Now that I got compilation

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-15 Thread Phil Thompson
On Tue, 15 Sep 2009 10:50:38 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Sep 13, 2009, at 6:12 AM, Phil Thompson wrote: I've added a --use-arch option to PyQt's configure.py to tell it to use arch in the pyuic4 wrapper script. If there is a problem with /usr/bin/python then

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-15 Thread Celil Rufat
Just finished compiling the latest preview of Qt4.6 on Snow Leopard in 64 bit without any major issues. http://qt.nokia.com/developer/qt-4.6-technology-preview#download-the-qt-4-1 Now, I am trying to do the same for PyQt4.6 with the latest snapshot. I got through the configuration step by

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-15 Thread Phil Thompson
On Tue, 15 Sep 2009 13:18:45 -0700, Celil Rufat celil.ru...@gmail.com wrote: Just finished compiling the latest preview of Qt4.6 on Snow Leopard in 64 bit without any major issues. http://qt.nokia.com/developer/qt-4.6-technology-preview#download-the-qt-4-1 Now, I am trying to do the same

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-15 Thread William Kyngesburye
I'm working on building off sip/pyqt now. In sipconfig.py, I find that the arch option for the makefiles is hardwired to default to ppc i386, and the universal sdk to empty. Shouldn't these match how sip was configured? (ie what's in _pkg_config) Otherwise I need to insert those from

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-14 Thread Phil Thompson
On Sun, 13 Sep 2009 18:18:29 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Sep 13, 2009, at 6:12 AM, Phil Thompson wrote: I've added a --arch option to SIP's configure.py. It may be specified any number of times. PyQt's configure.py will also use the information. I've added

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-14 Thread Phil Thompson
On Sun, 13 Sep 2009 19:14:43 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Sep 13, 2009, at 6:18 PM, William Kyngesburye wrote: I was able to get it past qtdirs by adding make overrides for CXX and LINK in the make command, adding arch flags (I couldn't figure out how to

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-13 Thread Phil Thompson
On Fri, 11 Sep 2009 10:00:39 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Sep 11, 2009, at 8:57 AM, Phil Thompson wrote: On Fri, 4 Sep 2009 09:13:08 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: For those trying this, here's what I found so far: - gcc compiles 64bit

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-13 Thread William Kyngesburye
On Sep 13, 2009, at 6:12 AM, Phil Thompson wrote: On Fri, 11 Sep 2009 10:00:39 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: It's not so much a problem of Qt supporting Snow (yes, the mkspec problem, but it seems to be minor), but supporting OSX 64bit, which covers both Leopard AND

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-13 Thread William Kyngesburye
On Sep 13, 2009, at 6:12 AM, Phil Thompson wrote: I've added a --arch option to SIP's configure.py. It may be specified any number of times. PyQt's configure.py will also use the information. I've added a --use-arch option to PyQt's configure.py to tell it to use arch in the pyuic4

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-13 Thread William Kyngesburye
On Sep 13, 2009, at 6:18 PM, William Kyngesburye wrote: I was able to get it past qtdirs by adding make overrides for CXX and LINK in the make command, adding arch flags (I couldn't figure out how to override these from qmake), but then there were a lot more config tests that failed for

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-11 Thread Phil Thompson
On Fri, 4 Sep 2009 09:13:08 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: For those trying this, here's what I found so far: - gcc compiles 64bit by default now, which will cause problems with the 32bit-only Qt (unless you are using Qt Cocoa). Configure SIP universal so you

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-11 Thread William Kyngesburye
On Sep 11, 2009, at 8:57 AM, Phil Thompson wrote: On Fri, 4 Sep 2009 09:13:08 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: For those trying this, here's what I found so far: - gcc compiles 64bit by default now, which will cause problems with the 32bit-only Qt (unless you are using

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-11 Thread Phil Thompson
On Fri, 11 Sep 2009 10:00:39 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Sep 11, 2009, at 8:57 AM, Phil Thompson wrote: On Fri, 4 Sep 2009 09:13:08 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: For those trying this, here's what I found so far: - gcc compiles 64bit

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-11 Thread William Kyngesburye
On Sep 11, 2009, at 11:05 AM, Phil Thompson wrote: It's not so much a problem of Qt supporting Snow (yes, the mkspec problem, but it seems to be minor), but supporting OSX 64bit, which covers both Leopard AND Snow. The standard Carbon-based Mac Qt will never be 64bit. Qt Cocoa is 64bit (I

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-11 Thread Giovanni Bajo
On 9/11/2009 6:05 PM, Phil Thompson wrote: The current problems seem to be due to Qt being slow to support Snow Leopard, or maybe just slow to make Cocoa the default. I don't think PyQt should be expected to work around this temporary situation. I'd change my mind if you were to say that the

Re: [PyQt] PyQt on OSX Snow Leopard notes

2009-09-11 Thread Phil Thompson
On Fri, 11 Sep 2009 11:34:58 -0500, William Kyngesburye wokl...@kyngchaos.com wrote: On Sep 11, 2009, at 11:05 AM, Phil Thompson wrote: It's not so much a problem of Qt supporting Snow (yes, the mkspec problem, but it seems to be minor), but supporting OSX 64bit, which covers both Leopard

[PyQt] PyQt on OSX Snow Leopard notes

2009-09-04 Thread William Kyngesburye
For those trying this, here's what I found so far: - gcc compiles 64bit by default now, which will cause problems with the 32bit-only Qt (unless you are using Qt Cocoa). Configure SIP universal so you get a 32bit SIP (the extra PPC code is harmless, except that PyQt will take longer to