[PyQt] latest pyqt4 snapshot doesn't compile if qt4 doesn't have ssl enabled

2008-05-09 Thread Erick Tryzelaar
I just tried compiling the latest snapshot against qt4 with the qt4 build option "-no-openssl" set, and I couldn't configure pyqt4. It errored out with this: Generating the C++ source for the QtNetwork module... sip: QSsl::SslProtocol is undefined Error: Unable to create the C++ code. Is there an

Re: [PyQt] QT_SHARED not defined

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 22:13:39 Matt Newell wrote: > Using vanilla qt-x11-4.4.0 with PyQt-x11-gpl-4.4-snapshot-20080508 and > sip-4.7.5-snapshot-20080507. > > Not a problem for me to work around, just thought you might want to know > this is still an issue, and afaict is not related to any distribu

[PyQt] QT_SHARED not defined

2008-05-09 Thread Matt Newell
Using vanilla qt-x11-4.4.0 with PyQt-x11-gpl-4.4-snapshot-20080508 and sip-4.7.5-snapshot-20080507. Not a problem for me to work around, just thought you might want to know this is still an issue, and afaict is not related to any distribution issues. Matt _

[PyQt] Re: Problems Compiling PyQt4.4

2008-05-09 Thread kib2
Phil Thompson a écrit : Have you rebuilt Qt? Phil No Phil, sorry. That did the trick, even if I had to wait a long time for Qt to compile. Thanks again, Christophe K. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcom

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread İsmail Dönmez
Hi, On Fri, May 9, 2008 at 9:53 PM, Gustavo A. Díaz <[EMAIL PROTECTED]> wrote: > Well.. after adding -lpython2.5 to every single Makefile (:S) compiled > perfectly... > Maybe Kubuntu maintainers broke Qt4.4 someway as you said. FWIW this works fine on MacOSX Leopard. Regards, ismail -- Never l

Re: [PyQt] ANN: new eric 4.2 snapshot available

2008-05-09 Thread Gustavo A. Díaz
Hi! Seems that Latest snapshot of Eric4.2 does not work with latest packages of Qt4.4, PyQt4.4, sip and qscintilla, having this ouput: [EMAIL PROTECTED]:~/Descargas/Eric/eric4-4.2-snapshot-20080503$ eric4 Warning: translation file 'qscintilla_es_AR'could not be loaded. Using default. An unhandle

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Gustavo A. Díaz
Well.. after adding -lpython2.5 to every single Makefile (:S) compiled perfectly... Maybe Kubuntu maintainers broke Qt4.4 someway as you said. 2008/5/9 Gustavo A. Díaz <[EMAIL PROTECTED]>: > LFLAGS = -Wl,--no-undefined -shared -Wl,-rpath,/usr/lib > -Wl,--version-script=QtCore.exp > > It does it s

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Gustavo A. Díaz
LFLAGS = -Wl,--no-undefined -shared -Wl,-rpath,/usr/lib -Wl,--version-script=QtCore.exp It does it seems (this is on PyQt4.4 latest snapshot by the way) And for Kubuntu, they've upgraded to Qt4.4 (in hardy as well). So like i have a few problems in the implementation of stylesheets, i am trying

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Phil Thompson
You shouldn't need to add it. My (amd64) Kubuntu is still on Qt v4.3.4. Does the QtCore Makefile include --no-undefined? If it does then you either have Qt v4.4rc1, or Kubuntu has broken Qt v4.4. Phil On Friday 09 May 2008 18:07:06 Gustavo A. Díaz wrote: > Where i should add -lpython2.5 ? > > T

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Gustavo A. Díaz
Ok, i've added -lpython2.5 on LIBS = -L/usr/lib -L/usr/X11R6/lib -lQtCore -lXext -lX11 -lm -lpthread in QtCore and now seems to work. 2008/5/9 Gustavo A. Díaz <[EMAIL PROTECTED]>: > I am not sure, i didnt compiled Qt4.4. Is the default that comes with > Kubuntu Hardy (since a few days was the up

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Gustavo A. Díaz
Where i should add -lpython2.5 ? Thanks. 2008/5/9 İsmail Dönmez <[EMAIL PROTECTED]>: > Hi, > > On Fri, May 9, 2008 at 10:47 AM, Phil Thompson > <[EMAIL PROTECTED]> wrote: > > On Friday 09 May 2008 04:03:49 Gustavo A. Díaz wrote: > >> Hi, > >> > >> I cant manage to compile right PyQt4.4 latest sn

Re: [PyQt] QImage.save() traceback

2008-05-09 Thread David Boddie
On Thursday 08 May 2008 18:18, Sergi Blanch i Torné wrote: > I want to start adding this to the sample-script. By the way in the widget, > after a constructor like: > image = > QtGui.QImage(imgData8,imgDimX,imgDimY,imgDimX,QtGui.QImage.Format_Indexed8) > > I wrote this: > image.setNumColors(256

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Gustavo A. Díaz
I am not sure, i didnt compiled Qt4.4. Is the default that comes with Kubuntu Hardy (since a few days was the upgrade to qt4.4) 2008/5/9 Phil Thompson <[EMAIL PROTECTED]>: > On Friday 09 May 2008 17:02:55 Gustavo A. Díaz wrote: > > Phil, hi > > > > The Makefile of PyQt4.4 ? > > Of the QtCore modu

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 17:02:55 Gustavo A. Díaz wrote: > Phil, hi > > The Makefile of PyQt4.4 ? Of the QtCore module. It sounds like it might include --no-undefined, but that was in rc1 and not the final release of Qt v4.4. Phil ___ PyQt mailing list

Re: [PyQt] Returning a numpy.ndarray

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 17:10:26 Hans Meine wrote: > Hi, > > I am trying to return a numpy array from one of my member functions. I got > it worked out, but I have one remaining, sip-related problem: > > As e.g. explained on http://numpy.scipy.org/numpydoc/numpy-13.html, I need > to call import_arra

[PyQt] Returning a numpy.ndarray

2008-05-09 Thread Hans Meine
Hi, I am trying to return a numpy array from one of my member functions. I got it worked out, but I have one remaining, sip-related problem: As e.g. explained on http://numpy.scipy.org/numpydoc/numpy-13.html, I need to call import_array() in my module initialization code. I am using %PostIni

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Gustavo A. Díaz
Phil, hi The Makefile of PyQt4.4 ? Phil, hi > > The Makefile of PyQt4.4 ? > > 2008/5/9 Phil Thompson <[EMAIL PROTECTED]>: > > On Friday 09 May 2008 04:03:49 Gustavo A. Díaz wrote: >> > Hi, >> > >> > I cant manage to compile right PyQt4.4 latest snapshot. >> > I've compiled latest Sip snapshot,

[PyQt] Drag from listView to a lineEdit

2008-05-09 Thread Jake Richards
Hello: I've got a pretty simple listviewWidget with 1 column. I'd like to be able to drag items from the listView over to a qlineEdit and paste the text that is in the column. I've set up a dropEvent for my QLineEdit and it appears to be triggered, but I don't know how to get the data from the

Re: [PyQt] Re: Problems Compiling PyQt4.4

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 13:50:55 kib2 wrote: > Phil Thompson a écrit : > > Looks like I forgot one of the OpenSSL guards. The workaround is to > > install the OpenSSL developer package. > > > > Phil > > Hi Phil, > > That's what I've done with the latest openssl-0.9.8g snapshots > [ftp://ftp.openssl.o

[PyQt] Re: Problems Compiling PyQt4.4

2008-05-09 Thread kib2
Phil Thompson a écrit : Looks like I forgot one of the OpenSSL guards. The workaround is to install the OpenSSL developer package. Phil Hi Phil, That's what I've done with the latest openssl-0.9.8g snapshots [ftp://ftp.openssl.org/snapshot/], but that does not seems to fix it : I'm gett

Re: [PyQt] Re: Problems Compiling PyQt4.4

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 09:42:09 kib2 wrote: > Hi, > > I've got the same problem with a fresh Ubuntu Hardy installation. > SIP compiles well, but not the latest snapshots of PyQt : > > pyuic4, pyrcc4 and pylupdate4 will be installed in /usr/bin. > Generating the C++ source for the QtCore module... >

Re: [PyQt] PyQt for Windows CE?

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 11:40:44 Benno Dielmann wrote: > Hi, > > is there a PyQt for Windows CE planned? Since there is a python port: > > http://pythonce.sourceforge.net/ > > and Qt 4.4 now supports CE, this should be feasible, shouldn't it? > > At the moment there is only Tkinter working but not at

[PyQt] PyQt for Windows CE?

2008-05-09 Thread Benno Dielmann
Hi, is there a PyQt for Windows CE planned? Since there is a python port: http://pythonce.sourceforge.net/ and Qt 4.4 now supports CE, this should be feasible, shouldn't it? At the moment there is only Tkinter working but not at all integrated into the CE look and feel (it just looks like on

Re: [PyQt] PyQt 4.4-snapshot-20080507: Running webbrowser.py

2008-05-09 Thread Aaron Digulla
Phil Thompson schrieb: > On Thursday 08 May 2008 21:08:42 Aaron Digulla wrote: >> When I run python examples/activeqt/webbrowser/webbrowser.py, I get this >> error with the latest snapshot: >> >> Traceback (most recent call last): >> File "examples/activeqt/webbrowser/webbrowser.py", line 22, in

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 09:01:17 İsmail Dönmez wrote: > Hi, > > On Fri, May 9, 2008 at 10:47 AM, Phil Thompson > > <[EMAIL PROTECTED]> wrote: > > On Friday 09 May 2008 04:03:49 Gustavo A. Díaz wrote: > >> Hi, > >> > >> I cant manage to compile right PyQt4.4 latest snapshot. > >> I've compiled latest

[PyQt] Re: Problems Compiling PyQt4.4

2008-05-09 Thread kib2
Hi, I've got the same problem with a fresh Ubuntu Hardy installation. SIP compiles well, but not the latest snapshots of PyQt : pyuic4, pyrcc4 and pylupdate4 will be installed in /usr/bin. Generating the C++ source for the QtCore module... Creating the Makefile for the QtCore module... Generatin

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread İsmail Dönmez
Hi, On Fri, May 9, 2008 at 10:47 AM, Phil Thompson <[EMAIL PROTECTED]> wrote: > On Friday 09 May 2008 04:03:49 Gustavo A. Díaz wrote: >> Hi, >> >> I cant manage to compile right PyQt4.4 latest snapshot. >> I've compiled latest Sip snapshot, latest Qscintilla snapshot and i have >> brand new Qt.4.4

Re: [PyQt] Problems Compiling PyQt4.4

2008-05-09 Thread Phil Thompson
On Friday 09 May 2008 04:03:49 Gustavo A. Díaz wrote: > Hi, > > I cant manage to compile right PyQt4.4 latest snapshot. > I've compiled latest Sip snapshot, latest Qscintilla snapshot and i have > brand new Qt.4.4 (Kubuntu Hardy). > I am attaching where starts to give errors... (and it is very long