Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread Phil Thompson
On Thu, 27 Jun 2013 18:59:26 -0500, William Kyngesburye wrote: > PyQt should be picking the spec from SIP (unless PyQt 5 changed that). > You can specify the spec when compiling SIP with the option: > > -p macx-g++ > > if that doesn't work when compiling PyQt, try: > > -p macx-llvm > > It's o

Re: [PyQt] Drawing on a QFrame

2013-06-28 Thread Phil Thompson
On Fri, 28 Jun 2013 15:35:20 +1000, Phil wrote: > Thank you for reading this. > > I'd like to draw on a QFrame. > > The following does draw a line but not on the frame, instead the line is > drawn on the main window. > > I've done this years ago with Qt and C++ but I don't remember how I did i

Re: [PyQt] Drawing on a QFrame

2013-06-28 Thread Phil
On 28/06/13 18:56, Phil Thompson wrote: On Fri, 28 Jun 2013 15:35:20 +1000, Phil wrote: Thank you for reading this. I'd like to draw on a QFrame. The following does draw a line but not on the frame, instead the line is drawn on the main window. I've done this years ago with Qt and C++ but

[PyQt] Status of QSound in PyQt5

2013-06-28 Thread Vincent Vande Vyvre
Hi, In Qt5, the class QSound was moved from the module QtGui to the module QtMultimedia. QSound is not present in PyQt5, is it no longer supported or just missed ? -- Vincent V.V. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverb

[PyQt] Regarding QTableWidget

2013-06-28 Thread Pushpak Dagade
Hello, How do I find out when a row is deleted from a QTableWidget? I think no signal emitted by QTableWidget captures this. The signal 'itemChanged' catches changes done to table cells, but doesn't work when a cell is deleted. Regards, Pushpak ___ PyQt

Re: [PyQt] Status of QSound in PyQt5

2013-06-28 Thread Phil Thompson
On Fri, 28 Jun 2013 16:02:55 +0200, Vincent Vande Vyvre wrote: > Hi, > > In Qt5, the class QSound was moved from the module QtGui to the module > QtMultimedia. > > QSound is not present in PyQt5, is it no longer supported or just missed ? It's in the current snapshot. In fact the current snaps

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread Anzir Boodoo
Phil, On 28 Jun 2013, at 09:53, Phil Thompson wrote: > On Thu, 27 Jun 2013 18:59:26 -0500, William Kyngesburye > wrote: >> PyQt should be picking the spec from SIP (unless PyQt 5 changed that). >> You can specify the spec when compiling SIP with the option: >> >> -p macx-g++ >> >> if that does

Re: [PyQt] Status of QSound in PyQt5

2013-06-28 Thread Vincent Vande Vyvre
Le 28/06/2013 16:34, Phil Thompson a écrit : On Fri, 28 Jun 2013 16:02:55 +0200, Vincent Vande Vyvre wrote: Hi, In Qt5, the class QSound was moved from the module QtGui to the module QtMultimedia. QSound is not present in PyQt5, is it no longer supported or just missed ? It's in the current

[PyQt] Absolute paths in qrc file.

2013-06-28 Thread Eric Frederich
I'm having trouble working with absolute file paths in my qrc resource file with PyQt. Am I doing something wrong or is it just something that rcc happens to support but not pyrcc4? Here is my resource file $ cat resources.qrc /usr/share/icons/oxygen/32x32/actions/document-save-

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread William Kyngesburye
It should be: --spec=macx-llvm Do you get the same error? On Jun 28, 2013, at 9:38 AM, Anzir Boodoo wrote: > Phil, > On 28 Jun 2013, at 09:53, Phil Thompson wrote: > >> On Thu, 27 Jun 2013 18:59:26 -0500, William Kyngesburye >> wrote: >>> PyQt should be picking the spec from SIP (unless PyQt

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread William Kyngesburye
Though I see now what you mean by those lines in configure.py - whatever you give for --spec will be overridden by that 'darwin' if block. And if it isn't macx-xcode it defaults to whatever Qt5 was compiled with, probably clang++. On Jun 28, 2013, at 10:10 AM, William Kyngesburye wrote: > It s

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread Anzir Boodoo
William, On 28 Jun 2013, at 16:10, William Kyngesburye wrote: > It should be: > > --spec=macx-llvm > > Do you get the same error? Yes... it's still trying to get at clang++ It looks like qmake is trying to get at clang++ - the day was going to come when me still being on Snow Leopard started

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread Anzir Boodoo
William, On 28 Jun 2013, at 16:20, William Kyngesburye wrote: > Though I see now what you mean by those lines in configure.py - whatever you > give for --spec will be overridden by that 'darwin' if block. And if it > isn't macx-xcode it defaults to whatever Qt5 was compiled with, probably > cl

Re: [PyQt] Absolute paths in qrc file.

2013-06-28 Thread Baz Walter
On 28/06/13 15:45, Eric Frederich wrote: I'm having trouble working with absolute file paths in my qrc resource file with PyQt. Am I doing something wrong or is it just something that rcc happens to support but not pyrcc4? Here is my resource file $ cat resources.qrc /usr/

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread Phil Thompson
On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye wrote: > Though I see now what you mean by those lines in configure.py - whatever > you give for --spec will be overridden by that 'darwin' if block. And if > it isn't macx-xcode it defaults to whatever Qt5 was compiled with, probably > clan

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread Phil Thompson
On Fri, 28 Jun 2013 17:16:27 +0100, Phil Thompson wrote: > On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye > wrote: >> Though I see now what you mean by those lines in configure.py - whatever >> you give for --spec will be overridden by that 'darwin' if block. And > if >> it isn't macx-x

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard) - Patch v3

2013-06-28 Thread Phil Thompson
On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye wrote: > Though I see now what you mean by those lines in configure.py - whatever > you give for --spec will be overridden by that 'darwin' if block. And if > it isn't macx-xcode it defaults to whatever Qt5 was compiled with, probably > clan

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard) - Patch v3

2013-06-28 Thread Anzir Boodoo
Phil, On 28 Jun 2013, at 17:39, Phil Thompson wrote: > On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye > wrote: >> Though I see now what you mean by those lines in configure.py - whatever >> you give for --spec will be overridden by that 'darwin' if block. And > if >> it isn't macx-xcode

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard) - Patch v3

2013-06-28 Thread Phil Thompson
On Fri, 28 Jun 2013 18:42:39 +0100, Anzir Boodoo wrote: > Phil, > On 28 Jun 2013, at 17:39, Phil Thompson wrote: > >> On Fri, 28 Jun 2013 10:20:24 -0500, William Kyngesburye >> wrote: >>> Though I see now what you mean by those lines in configure.py - whatever >>> you give for --spec will be ove

Re: [PyQt] Regarding QTableWidget

2013-06-28 Thread Ryan Hanson
On Fri, Jun 28, 2013 at 9:17 AM, Pushpak Dagade wrote: > Hello, > > How do I find out when a row is deleted from a QTableWidget? I think no > signal emitted by QTableWidget captures this. The signal 'itemChanged' > catches changes done to table cells, but doesn't work when a cell is > deleted. >

Re: [PyQt] Absolute paths in qrc file.

2013-06-28 Thread Eric Frederich
Thanks, I think a symlink will work great. I'll just symlink to /usr/share/icons in my main directory. I'd love to be able to use QIcon.fromTheme but I'm on RHEL 6 it is unavailable. What is weird though is that it is available in Qt 4.6.2 but not PyQt 4.6.2 I thought that PyQt built bindings for

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard)

2013-06-28 Thread William Kyngesburye
I was going to try it myself (haven't installed Qt5 yet, no need), but for some dumb reason, Qt5 switched to a custom Qt-made installer for their binaries. I don't trust them to not do something weird. Since the only thing I compile doesn't support Qt5 yet (and may not for a long while), I rea

Re: [PyQt] Installing PyQt 5 on Mac OS X (10.6.8 Snow Leopard) <- reverting to 4.8

2013-06-28 Thread Anzir Boodoo
William, On 29 Jun 2013, at 01:55, William Kyngesburye wrote: > I was going to try it myself (haven't installed Qt5 yet, no need), but for > some dumb reason, Qt5 switched to a custom Qt-made installer for their > binaries. I don't trust them to not do something weird. > > Since the only thing