[PyKDE] Qt4 -no-qt3support and PyQt4

Andreas Pakulat apaku at gmx.de
Sun May 7 15:18:41 BST 2006


Hi,

this is mainly for Phil, however I think it's valuable for other people
building PyQt4.

I recently found out that Qt4 lacks the printRange and setPrintRange
functions when compiled with -no-qt3support. The problem is: They're
still in the header and nor guarded by QT3_SUPPORT, however they are in
the implementation.

So this breaks PyQt4 compilation against a Qt4 built with
-no-qt3support.

A solution will at earliest become available at Qt4.2, due to binary
compatibility issues. I already filed a bugreport with TT, it's not yet
in the task-tracker, because it has not yet been reproduced by TT
employee.

Phil, not sure if you can/want to "fix" PyQt4 for this, i.e. not wrap
the printRange-functions when the Qt4 version is >=4.1.0 but I thought
I'd better report it earlier than later.

I will add another comment when I know the task-tracker number.

Andreas

-- 
You will inherit some money or a small piece of land.




More information about the PyQt mailing list