I can confirm this fix works for Qt 4.8.0 with python 2.7.2 Does this fix have side effects ?
On Wed, 28 Dec 2011 18:16:13 +0100, Linos <info at linos.es> wrote: > Hi, > after Qt upgrade to 4.8.0 in my machine i have been getting problems with > the > painting of vertical headers in QTableViews with a QSqlQueryModel that > refresh > on event (for example after tab change). > > I have created a testcase because i wanted to report the bug to Qt bug > tracker > but i can't reproduce it in c++ so i have created a testcase in python > with the > problem and the equivalent code in c++ that not reproduces the problem, > maybe i > am missing something but it seems like a but in PyQt? > > I am using now PyQt 4.9 but i had this problem with the previous PyQt > version as > well, i am using arch x86_64 and python2.7 > > Regards, > Miguel Angel. It's a PyQt bug triggered by a change in Qt v4.8.0. The fix is to remove the definition of doItemsLayout() from any .sip file they appear in (there are 4 in the QtGui module). Thanks, Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt