Jon wrote: > > On Tuesday 05 February 2002 9:02 am, Phil Thompson wrote: > > Jon wrote: > > > Hello > > > > > > I am getting the same problem as reported by Nico van der Walt on Tue, 18 > > > Dec 2001. > > > > > > QSqlCursor returns blank for text fields and zero for numeric fields. I > > > am using the MySql driver. > > > > > > Does anyone know if this problem has been resolved yet ? > > > > > > Jon > > > > I've not tested it recently (since I downgraded my g++), but I assume > > the problem is still there. I got as far as finding that the problem was > > from a QVariant ctor being used to copy the column value - but there I > > got stuck. What compiler are you using? > > > > Phil > > > > _______________________________________________ > > PyKDE mailing list [EMAIL PROTECTED] > > http://mats.gmd.de/mailman/listinfo/pykde > > In fact I had fixed the bug. I just had not rebuilt PyQt properly. > > So to recap: > > QSqlCursor calls QSqlQuery::afterSeek() instead of QSqlCursor::afterSeek() > giving a cursor full of zeros. This is fixed by uncommenting void > afterSeek(); in qsqlcursor.sip and doing a complete rebuild.
Well done - many thanks. > Another small problem I found is that 'make rebuild-src' is broken in > PyQt-3.0. I know. It's repaired (but maybe not completely) in the CVS version. Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde