-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm working to build and port KDE to the ARM architecture for Kubuntu Jaunty, and although I've made some progress, I've had some seriously issues with PyQt4 and PyKDE4. The main issue steams from the fact that on the ARM architecture (as well as non-FPU architectures like MIPS), qreal becomes a float vs a double. This causes a few issues. Internally, PyQT4 uses qreals in its bindings for QLists, and so forth. Although this works fine when qreal is a double since a float will be converted implicatively, when it is a float, it looses the ability to handle doubles since float is smaller than double. I believe the solution is to remove explicate qreals, and handle both float and double separately.
Secondly, in some cases, sip tries to pass double points into qreals, which breaks miserably on ARM. This happens when building plasma's bindings. This happens when building a widget derived from QGraphicsView, and that widget hasn't overridden getContetMargins. getContentMargins accepts four qreal pointers, and sip tries to pass in four double ones. I can provide the generated code in this instance. I can provide access to relatively fast ARM hardware to help handle porting work and so forth, if anyone is interested in working on resolving this issue. Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: http://getfiregpg.org iEYEARECAAYFAklFcMoACgkQpblTBJ2i2pt6VgCdEE8d33kL6psIFCHqXvjaeXNR ixkAoI0DJjJg8wUXLYQ6k+bAsz/cTUXD =TQZu -----END PGP SIGNATURE----- _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
