On Sat, 7 Jan 2012 15:58:04 +0100, Erik Janssens <erik.janss...@conceptive.be> wrote: > I can confirm this fix works for Qt 4.8.0 with python 2.7.2 > > Does this fix have side effects ?
No. doItemsLayout()is internal and should never have been wrapped in the first place. Phil > 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 _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt