Re: [PyQt] Freezes and crashes with signal autoconnection
On Wed, 25 Nov 2009 15:27:33 -0800 (PST), Christian Roche christian.roche...@gmail.com wrote: Hi there, so what should I do about this issue? Should I file a bug report? Or is it only me? The PyQt4 version I'm using is fairly recent however it crashes A LOT! What gives? Most likely a bug in your application. Any bug can only be fixed if it can be reproduced by somebody else, or if the code is sufficiently small that the problem can be identified by just reading it. Either way people need a small, self-contained example that demonstrates the problem. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] More than one statusbar
Hi all, is it possible to have more than one statusbar in a QMainWindow? I would like to have to status bar one up and the other down in the qmainwindow and I want this status bar remain when I change the central widget, any hints? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] Can't connect to mysql on Windows
Hi there, I've downloaded the latest pyqt for python 2.5 (PyQt-Py2.5-gpl-4.4.3-1.exe) The notes says that this binary package has support for MySql: Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC) But my program do not connect using QMYSQL or QMYSQL3 drivers (with QODBC3 runs fine) Looking at C:\Python25\Lib\site-packages\PyQt4\plugins\sqldrivers there's no library for mysql Thats why my program do not connect, i guess. So, do pyqt4.4.3 have mysql support or not ? Do i have to compile that driver ? Thanks ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Can't connect to mysql on Windows
On Thu, 26 Nov 2009 10:59:21 -0300, Mario Daniel Carugno carug...@gmail.com wrote: Hi there, I've downloaded the latest pyqt for python 2.5 (PyQt-Py2.5-gpl-4.4.3-1.exe) The notes says that this binary package has support for MySql: Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC) But my program do not connect using QMYSQL or QMYSQL3 drivers (with QODBC3 runs fine) Looking at C:\Python25\Lib\site-packages\PyQt4\plugins\sqldrivers there's no library for mysql Thats why my program do not connect, i guess. So, do pyqt4.4.3 have mysql support or not ? To be honest, I can't remember. Do i have to compile that driver ? ...and Qt and PyQt. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Can't connect to mysql on Windows
2009/11/26, Phil Thompson p...@riverbankcomputing.com: On Thu, 26 Nov 2009 10:59:21 -0300, Mario Daniel Carugno carug...@gmail.com wrote: Hi there, I've downloaded the latest pyqt for python 2.5 (PyQt-Py2.5-gpl-4.4.3-1.exe) The notes says that this binary package has support for MySql: Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC) But my program do not connect using QMYSQL or QMYSQL3 drivers (with QODBC3 runs fine) Looking at C:\Python25\Lib\site-packages\PyQt4\plugins\sqldrivers there's no library for mysql Thats why my program do not connect, i guess. So, do pyqt4.4.3 have mysql support or not ? To be honest, I can't remember. Do i have to compile that driver ? ...and Qt and PyQt. Phil Thank you for the fast response Phil Do you know if the version for python2.6 has that driver compiled ? Compiling Qt, PyQt and QMysql seems too much to get just a driver... Does anybody have a compiled qmysql driver (for XP) to send me please ? Thanks ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Can't connect to mysql on Windows
On Thu, 26 Nov 2009 11:26:54 -0300, Mario Daniel Carugno carug...@gmail.com wrote: 2009/11/26, Phil Thompson p...@riverbankcomputing.com: On Thu, 26 Nov 2009 10:59:21 -0300, Mario Daniel Carugno carug...@gmail.com wrote: Hi there, I've downloaded the latest pyqt for python 2.5 (PyQt-Py2.5-gpl-4.4.3-1.exe) The notes says that this binary package has support for MySql: Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC) But my program do not connect using QMYSQL or QMYSQL3 drivers (with QODBC3 runs fine) Looking at C:\Python25\Lib\site-packages\PyQt4\plugins\sqldrivers there's no library for mysql Thats why my program do not connect, i guess. So, do pyqt4.4.3 have mysql support or not ? To be honest, I can't remember. Do i have to compile that driver ? ...and Qt and PyQt. Phil Thank you for the fast response Phil Do you know if the version for python2.6 has that driver compiled ? Yes. Compiling Qt, PyQt and QMysql seems too much to get just a driver... Does anybody have a compiled qmysql driver (for XP) to send me please ? It's not as simple as that because of the way that PyQt and Qt are built - hence the need to rebuild everything. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Having a problem with QTcpSocket
On Mon, 23 Nov 2009 21:01:38 +0100, Hans-Peter Jansen h...@urpla.net wrote: On Monday 23 November 2009, 19:39:36 Nick Gaens wrote: Hans-Peter Jansen schreef: Hmm.. That doesn't seem to work :-S.. self.server.listen(QtNetwork.QHostAddress.Any, 5): TypeError: argument 1 of QTcpServer.listen() has an invalid type It's not that uncommon. Try: self.listen(QtNetwork.QHostAddress(QtNetwork.QHostAddress.Any), 5) Phil, is it possible to eliminate this useless wrapper? ...tonight's snapshot. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Can't connect to mysql on Windows
I've installed Python2.6 and PyQt-Py2.6 Running the same program that works with PyQt-Py2.5, now using QMYSQL driver, I've got the following error: connection 'qt_sql_default_connection' is still in use, all queries will cease to work Any idea ? PD: Sorry Phil, it was that gmail's replying behavior ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt