Re: [Twisted-Python] Twisted and Qt5

2013-08-12 Thread Mikhail Terekhov
On Sun, Aug 11, 2013 at 12:24 PM, Burak Nehbit wrote: > These changes use the new API and may possibly prevent the current reactor > in the repo from correctly functioning under Qt4. I have no Qt4 / PyQt / > Twisted environment ready, so if anybody has that available I would love to > hear the re

Re: [Twisted-Python] Twisted and Qt5

2013-08-11 Thread Burak Nehbit
These changes use the new API and may possibly prevent the current reactor in the repo from correctly functioning under Qt4. I have no Qt4 / PyQt / Twisted environment ready, so if anybody has that available I would love to hear the results. — Sent from my phone On Sun, Aug 11, 2013 at 7:11 PM,

Re: [Twisted-Python] Twisted and Qt5

2013-08-11 Thread Mikhail Terekhov
On Sat, Aug 10, 2013 at 10:14 AM, Burak Nehbit wrote: > Qt4Reactor (my original file) is not a part of current Twisted due to > licensing incompatibilities between Twisted and PyQt. The same licensing > restrictions should also apply to my edited version, since I have no right > to change the lic

Re: [Twisted-Python] Twisted and Qt5

2013-08-10 Thread Burak Nehbit
Qt4Reactor (my original file) is not a part of current Twisted due to licensing incompatibilities between Twisted and PyQt. The same licensing restrictions should also apply to my edited version, since I have no right to change the license on my own. I am using this as my base: https://github.c

Re: [Twisted-Python] Twisted and Qt5

2013-08-10 Thread Shell
> If I have more time, I'll package this reactor and put it on GitHub, but I am > not sure if I have the (moral) right to—the only thing I did was to change > four or five lines, after all. You could instead put together a patch file - or even just document the exact changes you made - and file

Re: [Twisted-Python] Twisted and Qt5

2013-08-10 Thread Burak Nehbit
More good news. I have confirmed that the reason of this failure was my using of an unstable version of PyQt5. With the stable version of PyQt5, Qt 5.0.2 and the current Twisted stable, trial suite passes— or rather it fails with the same errors the default reactor fails: FAILED (skips=2025, e

Re: [Twisted-Python] Twisted and Qt5

2013-08-09 Thread Burak Nehbit
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

Re: [Twisted-Python] Twisted and Qt5

2013-07-22 Thread Glyph
On Jul 20, 2013, at 5:04 AM, Burak Nehbit 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 ther

Re: [Twisted-Python] Twisted and Qt5

2013-07-20 Thread Burak Nehbit
There are significant changes in the signalling mechanisms in Qt5, but I have not tried yet. I'll try quite soon and return with my findings, but with the little knowledge I have, I would say it might be unlikely that it works without modification. — Sent from my phone On Sat, Jul 20, 2013 at 3

Re: [Twisted-Python] Twisted and Qt5

2013-07-20 Thread Itamar Turner-Trauring
On 07/20/2013 08:04 AM, Burak Nehbit wrote: 1) I know there is a Qt4 reactor (which I managed to get to work and pass the twisted test suite) for Twisted. Is there such a thing for Qt5? Is it planned? Have the Qt APIs changed enough that you can't just us

[Twisted-Python] Twisted and Qt5

2013-07-20 Thread Burak Nehbit
Hi, I have a question and a general guidance request on handling Qt and Twisted together. This is nearly as much a Qt question as it is a Twisted one, so I apologise in advance if this is off–topic. To give a little bit of a background, I am building a desktop GUI application which I am coding