Re: [PyKDE] Windows install broken

2006-11-13 Thread Xavier Décoret

Phil Thompson a écrit :

On Sunday 12 November 2006 4:14 pm, Xavier Décoret wrote:
  

Hi,

I moved to PyQt 4.1 and Qt.4.2.1 and install is not straightforward. I
install Qt.4.2.1 for Windows (GPL) first, then PyQt 4.1 using the
windows installer. PyQt4 applications do not run, complainging that
Qt4Core.dll cannot be found.

Have I done something wrong or is it normal?

PS: I am recompiling PyQt4 from the sources to see If it works. Yet the
problem is that for beginners, this process is tedious and it might stop
them from testing PyQt, if the installer is broken.



Make sure you have installed Qt and MinGW properly, ie. that the DLLs are on 
your PATH.


  
I have installed it the way a newbie would do it: double-click on the 
installer downloaded from Trolltech and Riverbank. Personnally, I can 
fix the problem. My concern is for other people (the one I target with 
an open-source application). If they cannot simply install PyQt, they 
won't use my soft ;-). So I am trying to figure out wether it is a 
problem on my station, or a general problem with the installers.

Phil

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


  


___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] Windows install broken

2006-11-12 Thread Xavier Décoret

Hi,

I moved to PyQt 4.1 and Qt.4.2.1 and install is not straightforward. I 
install Qt.4.2.1 for Windows (GPL) first, then PyQt 4.1 using the 
windows installer. PyQt4 applications do not run, complainging that 
Qt4Core.dll cannot be found.


Have I done something wrong or is it normal?

PS: I am recompiling PyQt4 from the sources to see If it works. Yet the 
problem is that for beginners, this process is tedious and it might stop 
them from testing PyQt, if the installer is broken.


___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] undefined symbol: _ZNK18QX11EmbedContainer5errorEv

2006-11-03 Thread Xavier Décoret

Andrew Wilkinson a écrit :

Hi,

I can compile the latest snapshot of PyQt fine, however when I try to 
import it I get the following error...


Python 2.5 (r25:51908, Oct 25 2006, 09:55:50)
[GCC 4.1.1 (Gentoo 4.1.1)] on linux2
Type help, copyright, credits or license for more information.
 from PyQt4 import QtGui
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: /usr/lib64/python2.5/site-packages/PyQt4/QtGui.so: 
undefined symbol: _ZNK18QX11EmbedContainer5errorEv
It is not the answer to your question, but I use the occasion to give an 
poorly known trick with gcc: the utility c++filt lets you unmangle 
symbol names to get the human readable name of the missing symbol. In 
your case c++filt _ZNK18QX11EmbedContainer5errorEv returns 
QX11EmbedContainer::error() const so you know which function is 
missing from the compilation units.


Good luck.
 


I'm running qt-4.1.4.

Does anyone know what my problem is?

Regards,
Andrew



___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
  


___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] Pb with QTextDocument.clone()

2006-08-06 Thread Xavier Décoret
Hello, the following simple code crashes python under windows. Under 
linux, it randomly crashes but less often. It really sounds like a 
deallocated object problem. I am using Qt4.1.4 with PyQt4.0.1 and Python 
2.4.

Am I missing something or should I do a bug report?

from PyQt4.QtCore import *
from PyQt4.QtGui import *

import sys

app = QApplication(sys.argv)

doc = QTextDocument()
doc.setHtml(hello)

clo = doc.clone()



___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[PyKDE] Port to Qt4

2005-06-20 Thread Xavier Décoret

Hi

I am developping an open source tool based on Qt and PyQt.  One of the 
feature I have to implement now is already present in Qt4 (using 
QPainter on a QGLWidget). Implementing it for Qt3 is feasible but 
har,long,error-prone and smells like a waste of time! So the question 
is: are there any idea of when PyQt will be ported to Qt4, just to know 
wether I should start implementing what I need in Qt3 or if I should 
wait a couple of weeks to get it out of the box.


BTW, I am willing to help the porting!

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


Re: [PyKDE] Port to Qt4

2005-06-20 Thread Xavier Décoret

Phil Thompson a écrit :


Hi

I am developping an open source tool based on Qt and PyQt.  One of the
feature I have to implement now is already present in Qt4 (using
QPainter on a QGLWidget). Implementing it for Qt3 is feasible but
har,long,error-prone and smells like a waste of time! So the question
is: are there any idea of when PyQt will be ported to Qt4, just to know
wether I should start implementing what I need in Qt3 or if I should
wait a couple of weeks to get it out of the box.

BTW, I am willing to help the porting!
   



http://www.riverbankcomputing.co.uk/pyqt/roadmap.php

 


Sure, I've seen this web page and it says:

At the moment there are no timescales for the release of PyQt v4.

But does it mean, there is *really* no timescales, that is  we will 
start thinking/implementing some day, or does it mean that there is a 
work in progress with beta versions,etc... but the author does not want 
to commit to a deadline?



Phil

___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

 



___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde