[PyQt] Please let me know, how to cross-compile?
David Boddie
dboddie at trolltech.com
Wed Jan 16 14:50:15 GMT 2008
On Wed Jan 16 09:10:50 GMT 2008, Phil Thompson wrote:
> On Wednesday 16 January 2008, Park min su wrote:
> > Please let me know, the method which cross-compiles the PyQt or to inform
> > the document which relates to this.
>
> First you need to define a 'spec' file for SIP that describes all the
> compilers and flags you need to use. See the 'specs' directory in the SIP
> source package.
>
> Second you need to hack at PyQt's configure.py to remove all the dynamic
> tests it does (ie. compiling and running test programs to determine the
> configuration) and replace them with hard-coded values.
>
> You should also look at...
>
> http://www.diotavelli.net/PyQtWiki/PyQt4_on_the_Qtopia_Greenphone
That page is a bit out of date now - I have updated the build process to work
with Qtopia Core 4.3 and I still need to publish my patches to PyQt4 and
Python somewhere.
David
--
David Boddie
Lead Technical Writer, Trolltech ASA
More information about the PyQt
mailing list