Re: [PyQt] QMYSQL + QSqlQueryModel.

2009-09-24 Thread Igor Prischepoff
I have compiled mysql plugin with mingw it works with standard Qt installation. Sqlbrowser example from Qt demo works with my plugin ok and queries fetches data from database just fine! But I can't include my mingw compiled plugin to pyqt compiled by riverbank. Replacing C:\Python26\Lib\site-p

Re: [PyQt] QMYSQL + QSqlQueryModel.

2009-09-23 Thread Igor Prischepoff
Hello, my previous post didn't have any asnwers, so I'll try once again: now I'm cutting my example to bare minimum (without models) it's still behaves very strange: My info: winxp, msyql 5.0.45, python 2.6.2, latest precompiled pyqt which comes with mysql plugin as dll , qt 2009.3 Here is a scr

[PyQt] QMYSQL + QSqlQueryModel.

2009-09-22 Thread Igor Prischepoff
Hello, I'm recently upgraded my python setup to python 2.6.2 + Qt 4.5.1 + latest pyqt (on WinXP) I'm trying to work with mysql through qmysql plugin & QtSql.QSqlQueryModel here is code demonstrating my problem: -- from PyQt4 import QtSql, QtGui,QtCore import sys views = [] def initial