[PyQt] PyQtProgressBar

2007-10-15 Thread [EMAIL PROTECTED]
Hello i have made anly one test like this:

 from time import sleep
 barra = QtGui.QProgressBar()
 barra.setMinimum(0)
 barra.setMaximum(10)
 for a in range(10):
   sleep(1)
   barra.setValue(a)
   app.processEvents()

But the bar remain fix to 0% don't increase.

can you tell me how to proceed

Regards

Luca 

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] PyQt4 snapshots don't build with -c -j

2007-10-15 Thread Andreas Pakulat
Hi,

yesterday I fetched a new PyQt4 snapshot and as always let it build with
-c -j 8. After about 30 minutes that it spent on sipQtGuipart0 I stopped
it and increased to -j 20. Same problem with that number. Even -j 30
causes this. I noticed though that the sipQtGuiPart0.cpp has only a
difference of 100Kbytes between -j20 and -j30, that seems odd to me.

Is there anything that can be done to fix this? (I've got a GB of RAM
here, so that shouldn't be an issue) It really sucks having to disable
concatenation as it speeds up compilation a lot.

I always had such issues with PyKDE, but PyQt always worked fine using
concatenation. 

Andreas

-- 
Your mode of life will be changed for the better because of good news soon.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt4 snapshots don't build with -c -j

2007-10-15 Thread Jim Bublitz
On Monday 15 October 2007 09:44, Andreas Pakulat wrote:
 Hi,

 yesterday I fetched a new PyQt4 snapshot and as always let it build with
 -c -j 8. After about 30 minutes that it spent on sipQtGuipart0 I stopped
 it and increased to -j 20. Same problem with that number. Even -j 30
 causes this. I noticed though that the sipQtGuiPart0.cpp has only a
 difference of 100Kbytes between -j20 and -j30, that seems odd to me.

 Is there anything that can be done to fix this? (I've got a GB of RAM
 here, so that shouldn't be an issue) It really sucks having to disable
 concatenation as it speeds up compilation a lot.

 I always had such issues with PyKDE, but PyQt always worked fine using
 concatenation.

What gcc version?

Jim
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt4 snapshots don't build with -c -j

2007-10-15 Thread Phil Thompson
On Monday 15 October 2007, Andreas Pakulat wrote:
 Hi,

 yesterday I fetched a new PyQt4 snapshot and as always let it build with
 -c -j 8. After about 30 minutes that it spent on sipQtGuipart0 I stopped
 it and increased to -j 20. Same problem with that number. Even -j 30
 causes this. I noticed though that the sipQtGuiPart0.cpp has only a
 difference of 100Kbytes between -j20 and -j30, that seems odd to me.

Some classes have more code than others. The code for a particular class isn't 
split across parts.

 Is there anything that can be done to fix this? (I've got a GB of RAM
 here, so that shouldn't be an issue) It really sucks having to disable
 concatenation as it speeds up compilation a lot.

 I always had such issues with PyKDE, but PyQt always worked fine using
 concatenation.

 Andreas

It's a gcc problem as far as I know. My distro is still on v4.1.2 (presumably 
for a reason).

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] Eric3 issue: importing modules with the same name as an Eric module

2007-10-15 Thread Detlev Offenbach
Hi Sundance,

actually I found a strange behaviour I have to blame the importer for. If a 
module inside the quarantined import does a import os.path, that import 
fails. That happens even, if the importing module is somewhere down the 
import path.

Regards,
Detlev

PS: Your email is still not available. How can one get into contact with you?

On Montag, 15. Oktober 2007, Sundance wrote:
 Detlev wrote:
  Hi Sundance,
 
  thanks for the quarantined import. I'll include it in the eric4.1
  development line. It'll be part of the next snapshot.

 Hi Detlev,

 Thanks!

 Do please note, I have not tested it in every last possible corner case
 combination of Qt-using code running in a Qt-using debugger, and while
 I've pounded the heck out of the code to what extent I could, if in the
 near future there are odd issues with the debugger, you may want to
 blame the importer first. :)

 With kind regards,

 -- S.



-- 
Detlev Offenbach
[EMAIL PROTECTED]
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt4 snapshots don't build with -c -j

2007-10-15 Thread Andreas Pakulat
On 15.10.07 10:08:07, Jim Bublitz wrote:
 On Monday 15 October 2007 09:44, Andreas Pakulat wrote:
  Hi,
 
  yesterday I fetched a new PyQt4 snapshot and as always let it build with
  -c -j 8. After about 30 minutes that it spent on sipQtGuipart0 I stopped
  it and increased to -j 20. Same problem with that number. Even -j 30
  causes this. I noticed though that the sipQtGuiPart0.cpp has only a
  difference of 100Kbytes between -j20 and -j30, that seems odd to me.
 
  Is there anything that can be done to fix this? (I've got a GB of RAM
  here, so that shouldn't be an issue) It really sucks having to disable
  concatenation as it speeds up compilation a lot.
 
  I always had such issues with PyKDE, but PyQt always worked fine using
  concatenation.
 
 What gcc version?

I'm using 4.2.3 currently.

Andreas

-- 
You're ugly and your mother dresses you funny.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt4 snapshots don't build with -c -j

2007-10-15 Thread Andreas Pakulat
On 15.10.07 18:12:10, Phil Thompson wrote:
 On Monday 15 October 2007, Andreas Pakulat wrote:
  Is there anything that can be done to fix this? (I've got a GB of RAM
  here, so that shouldn't be an issue) It really sucks having to disable
  concatenation as it speeds up compilation a lot.
 
  I always had such issues with PyKDE, but PyQt always worked fine using
  concatenation.
 
 It's a gcc problem as far as I know. My distro is still on v4.1.2 (presumably 
 for a reason).

Hmm, then they've fixed and re-introduced it ;) I use gcc 4.2 since May
or so and I've been able to build PyQt4 with concatenation after that as
well. I didn't build for about 4 weeks now though.

Andreas

-- 
You have an unusual understanding of the problems of human relationships.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] If anyone wants to write about PyQt...

2007-10-15 Thread Roberto Alsina
... maybe you can get it published in Python Magazine:

http://blog.doughellmann.com/2007/10/python-magazine-wish-list.html
   
-- 
 (\''/).__..-''`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)
 (_Y_.)' ._   ) `._`.   -.-'  http://lateral.netmanagers.com.ar 
  _..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia   
(l)-'' ((i).' ((!.'   according to alexa.com (27/5/2007) 

Debugging is twice as hard as writing the code in the first place. 
Therefore, if you write the code as cleverly as possible, you are, 
by definition, not smart enough to debug it. --Brian W. Kernighan 

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt