I have been experimenting with porting qt4reactor to qt5, and I have some 
progress to share. It seems that the PyQt API that was being used in qt4reactor 
was deprecated, so I have converted the calls to the new version API and it 
seems it mostly works.. Except one thing: 

Traceback (most recent call last):
  File "sampleguiclient_twisted.py", line 132, in <module>
    from twisted.internet import reactor
AttributeError: 'function' object has no attribute '__pyqtSignature__'

I could not get past this error. I have prepared an example with a test case 
where you can see the error for yourself, and it can be reached here: 

https://dl.dropbox.com/s/4asklib8yuvm5ru/index.html 

This bunch of python files assume you have Qt5 installed, but otherwise free of 
dependencies. 

Any guesses on what's going on?

Best,
Burak




On Jul 23, 2013, at 12:43 AM, Glyph <gl...@twistedmatrix.com> wrote:

> 
> On Jul 20, 2013, at 5:04 AM, Burak Nehbit <bu...@nehbit.net> wrote:
> 
>> Is there such a thing for Qt5? Is it planned?
> 
> Well, it sounds like you're planning it, so, I guess so :).
> 
> I doubt that anyone on this list has plans to do it (or there would already 
> be work qt5 work done in the qt reactor repository) but there are plenty of 
> people (myself included) who would be very happy to help you learn enough 
> about Twisted to do it yourself.  And, honestly, if you're motivated to do it 
> it's probably *not* a huge amount of effort to update the implementation.  
> Feel free to ask any questions you have on this list.
> 
> In the meanwhile though, maybe you could report a bug to Nokia or Trolltech 
> or whoever runs Qt development right now that they should stop gratuitously 
> breaking interfaces between versions?  We've had (at least one) major rewrite 
> of the Qt reactor for every version of Qt, which seem to come out relatively 
> frequently.  Nothing about the nature of event loops or sockets has changed 
> sufficiently in the meanwhile to justify the constant re-work that Qt seems 
> to require from us.
> 
> -glyph
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to