[PyQt] QRegularExpression missing from PyQt4

2013-06-23 Thread Detlev Offenbach
Hello,

I think, that the new Qt5 regular expression class 
QRegularExpression and it's companions are missing from 
PyQt4 (at least dir(PyQt4.QtCore) didn't show them). Can 
these be added?

Regards,
Detlev-- 
*Detlev Offenbach*
det...@die-offenbachs.de
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] QRegularExpression missing from PyQt4

2013-06-23 Thread Phil Thompson
On Sun, 23 Jun 2013 10:31:23 +0200, Detlev Offenbach
det...@die-offenbachs.de wrote:
 Hello,
 
 I think, that the new Qt5 regular expression class 
 QRegularExpression and it's companions are missing from 
 PyQt4 (at least dir(PyQt4.QtCore) didn't show them). Can 
 these be added?

I'm not including new Qt5 things in PyQt4.

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


[PyQt] Co-installing different versions of dbus.mainloop.qt

2013-06-23 Thread Dmitry Shachnev
Hi,

It looks like versions of dbus.mainloop.qt module provided by PyQt4
and PyQt5 work only with Qt4 and Qt5, respectively. Trying to run
version from PyQt4 with a PyQt5 application, I get:

QSocketNotifier: Can only be used with threads started with QThread
QSocketNotifier: Can only be used with threads started with QThread

and connecting to singals doesn't work. Maybe it will make sense to
rename dbus.mainloop.qt to dbus.mainloop.qt5 in PyQt5? This will make
these modules co-installable, and it will be possible to use
dbus.mainloop.qt in PyQt4 apps and dbus.mainloop.qt5 in PyQt5 apps.

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


Re: [PyQt] Co-installing different versions of dbus.mainloop.qt

2013-06-23 Thread Phil Thompson
On Sun, 23 Jun 2013 13:53:59 +0400, Dmitry Shachnev mity...@ubuntu.com
wrote:
 Hi,
 
 It looks like versions of dbus.mainloop.qt module provided by PyQt4
 and PyQt5 work only with Qt4 and Qt5, respectively. Trying to run
 version from PyQt4 with a PyQt5 application, I get:
 
 QSocketNotifier: Can only be used with threads started with QThread
 QSocketNotifier: Can only be used with threads started with QThread
 
 and connecting to singals doesn't work. Maybe it will make sense to
 rename dbus.mainloop.qt to dbus.mainloop.qt5 in PyQt5? This will make
 these modules co-installable, and it will be possible to use
 dbus.mainloop.qt in PyQt4 apps and dbus.mainloop.qt5 in PyQt5 apps.

Good point. Maybe it would be more explicit to call it pyqt5 rather than
qt5 (to avoid confusion with the PyQt4 built on Qt5 case)?

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


Re: [PyQt] Co-installing different versions of dbus.mainloop.qt

2013-06-23 Thread Dmitry Shachnev
On Sun, Jun 23, 2013 at 2:20 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
 Good point. Maybe it would be more explicit to call it pyqt5 rather than
 qt5 (to avoid confusion with the PyQt4 built on Qt5 case)?

I'm fine with that (though it seems to me that the module from PyQt4
compiled against Qt5 will be compatible with PyQt5's module).

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