Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: > On 20.07.07 22:51:55, Andreas Pakulat wrote: >> On 20.07.07 12:43:43, Phil Thompson wrote: >>> On Friday 20 July 2007 12:40 pm, you wrote: Here is the produced qtdirs.mk. >>> Attached is mine as a comparison. >>> >>> It

[PyQt] problem compiling SIP (20070714 snapshot) on Vista

2007-07-20 Thread Tom Brown
Hi, I initially installed Qt 4.3.0, SIP (20070714 snapshot) and PyQt4 (20070714 snapshot) successfully into Windows Vista (32-bit). I ported my app from linux to Vista. Well, I copied it to Vista and ran it. The app came up fine with one exception, it needed the postgresql drivers for the Qt da

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Andreas Pakulat
On 20.07.07 22:51:55, Andreas Pakulat wrote: > On 20.07.07 12:43:43, Phil Thompson wrote: > > On Friday 20 July 2007 12:40 pm, you wrote: > > > Here is the produced qtdirs.mk. > > > > Attached is mine as a comparison. > > > > It would appear Ubuntu have been messing with Qt (as distros tend to do

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Andreas Pakulat
On 20.07.07 12:43:43, Phil Thompson wrote: > On Friday 20 July 2007 12:40 pm, you wrote: > > Here is the produced qtdirs.mk. > > Attached is mine as a comparison. > > It would appear Ubuntu have been messing with Qt (as distros tend to do), so > I > would report it as a bug with them. Same thi

[PyQt] HP-UX, SIP, Python, g++ problems

2007-07-20 Thread Bill Jester
Hello all, I have a large, C++ module which we compile successfully on 64 bit HP-UX PA-RISC using the gnu4.1 compiler. Switching to the aCC compiler on this platform is not an option because we are pushing the envelope a bit on template metaprogramming and have little success with system c

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arve Knudsen schrieb: > Hi > > I'm having problems building the latest PyQt snapshot against the > current Qt > in Ubuntu (4.3.0-2ubuntu1). The reason is configure.py isn't able to figure > out that Qt is installed as dynamic libraries, due to that QT

Re: [PyQt] Re: PyQt on Ubuntu

2007-07-20 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gustavo A. Dí­az schrieb: > Hi! > > No, those deb packages does not solve it.. cause when i install those has > dependencies problems which are not inside the K/Ubuntu repositories... so... > > I will try to create the packages for Ubuntu using thos

[PyQt] Re: PyQt on Ubuntu

2007-07-20 Thread Gustavo A. Dí­az
Hi! No, those deb packages does not solve it.. cause when i install those has dependencies problems which are not inside the K/Ubuntu repositories... so... I will try to create the packages for Ubuntu using those sources. If works, i will upload it somewhere. Thanks! Gudjon I. Gudjonsson es

[PyQt] Problems compiling latest PyQT Snapshots in Kubuntu feisty

2007-07-20 Thread Gustavo A. Díaz
Hi guys!! I am having problems to compile PyQt4 (latest) in Kubuntu feisty make[1]: se sale del directorio `/home/gdnet/Descargas/PyQt/PyQt-x11-gpl-4.2 /QtCore' make[1]: se ingresa al directorio `/home/gdnet/Descargas/PyQt/PyQt- x11-gpl-4.2/QtGui' g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -D

Re: [PyQt] QAbstractItemModel.setData() and emit

2007-07-20 Thread Andreas Pakulat
On 19.07.07 17:25:20, Tom Brown wrote: > On Thursday 19 July 2007 15:27, Andreas Pakulat wrote: > > You don't need a full PostgreSQL installation, all you need is the > > client library which is normally available as dll. Also you always need > > that client lib no matter how you do the db access (

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Arve Knudsen
On 7/20/07, Phil Thompson <[EMAIL PROTECTED]> wrote: On Friday 20 July 2007 12:40 pm, you wrote: > Here is the produced qtdirs.mk. Attached is mine as a comparison. It would appear Ubuntu have been messing with Qt (as distros tend to do), so I would report it as a bug with them. I can't say

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Phil Thompson
On Friday 20 July 2007 12:40 pm, you wrote: > Here is the produced qtdirs.mk. Attached is mine as a comparison. It would appear Ubuntu have been messing with Qt (as distros tend to do), so I would report it as a bug with them. Phil > Arve > > On 7/20/07, Phil Thompson <[EMAIL PROTECTED]> wrote

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Arve Knudsen
Here is the produced qtdirs.mk. Arve On 7/20/07, Phil Thompson <[EMAIL PROTECTED]> wrote: On Friday 20 July 2007 10:09 am, Arve Knudsen wrote: > Hi > > I'm having problems building the latest PyQt snapshot against the current > Qt in Ubuntu (4.3.0-2ubuntu1). The reason is configure.py isn't ab

Re: [PyQt] Shouldn't an item view keep a reference to its associatedmodel?

2007-07-20 Thread Florent Rougon
Giovanni Bajo <[EMAIL PROTECTED]> wrote: > It is not what Qt does. PyQt doesn't play tricks with object lifetimes: it > exposes Qt's underlying object model. [...] OK, thanks to you and Phil for the answers. It makes sense now. Regards, -- Florent _

Re: [PyQt] Shouldn't an item view keep a reference to its associatedmodel?

2007-07-20 Thread Phil Thompson
On Friday 20 July 2007 11:17 am, Giovanni Bajo wrote: > On Fri, 20 Jul 2007 11:56:38 +0200, Florent Rougon <[EMAIL PROTECTED]> > > wrote: > > I thought it should be possible to have the views keep a reference to > > their model without "owning" it, as you say. For instance: > > > > view1.setModel

Re: [PyQt] Shouldn't an item view keep a reference to its associated model?

2007-07-20 Thread Phil Thompson
On Friday 20 July 2007 10:56 am, Florent Rougon wrote: > Phil Thompson <[EMAIL PROTECTED]> wrote: > > Yes, it reflects the Qt behaviour. Models are often shared between views > > and so (by default) aren't owned by any particular view. If you know > > there will only ever be one view then make it t

Re: [PyQt] Shouldn't an item view keep a reference to its associatedmodel?

2007-07-20 Thread Giovanni Bajo
On Fri, 20 Jul 2007 11:56:38 +0200, Florent Rougon <[EMAIL PROTECTED]> wrote: > I thought it should be possible to have the views keep a reference to > their model without "owning" it, as you say. For instance: > > view1.setModel(model) > > internally would do 'view1.model = model' > > and s

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Phil Thompson
On Friday 20 July 2007 10:09 am, Arve Knudsen wrote: > Hi > > I'm having problems building the latest PyQt snapshot against the current > Qt in Ubuntu (4.3.0-2ubuntu1). The reason is configure.py isn't able to > figure out that Qt is installed as dynamic libraries, due to that QT_SHARED > isn't def

Re: [PyQt] Shouldn't an item view keep a reference to its associated model?

2007-07-20 Thread Florent Rougon
Phil Thompson <[EMAIL PROTECTED]> wrote: > Yes, it reflects the Qt behaviour. Models are often shared between views and > so (by default) aren't owned by any particular view. If you know there will > only ever be one view then make it the parent of the model. I thought it should be possible to

Re: [PyQt] Re: Crash with shortcircuit signals

2007-07-20 Thread Phil Thompson
On Thursday 19 July 2007 7:56 pm, Giovanni Bajo wrote: > On 18/07/2007 22.43, Phil Thompson wrote: > > I copied the list removal code back into the destructor (keeping a > > duped copy in the disable() slot), and it seems to work. > > > > Do you agree on this fix? Testcases are real

[PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Arve Knudsen
Hi I'm having problems building the latest PyQt snapshot against the current Qt in Ubuntu (4.3.0-2ubuntu1). The reason is configure.py isn't able to figure out that Qt is installed as dynamic libraries, due to that QT_SHARED isn't defined in the QLibraryInfo header by the looks of it. Arve _

Re: [PyQt] QAbstractItemModel.setData() and emit

2007-07-20 Thread Michael Guntsche
On Thu, 19 Jul 2007 17:25:20 -0700, Tom Brown <[EMAIL PROTECTED]> wrote: > > I am using psycopg2, which is a python package that accesses the > postgresql db > directly. I don't have to install the client libs on the client machine. > Until now that is. Psycopg2 definitely needs the client libs

Re: [PyQt] Shouldn't an item view keep a reference to its associated model?

2007-07-20 Thread Phil Thompson
On Friday 20 July 2007 1:37 am, Florent Rougon wrote: > Hello, > > I had a hard time figuring out why my QAbstractItemModel subclass wasn't > working properly. I added debug statements everywhere, which showed that > my subclass was behaving fine. The only symptoms were: > > 1. The associated QTr