[PyKDE] PyQt/Embedded on iPAQ
Phil Thompson
phil at river-bank.demon.co.uk
Sat Mar 9 12:02:29 GMT 2002
Michael Lauer wrote:
>
> Hello,
>
> I just wanted to try out PyQt/E on iPAQ using
> the ipkg packages from Phil Thompson.
>
> Problem: I can't import qt. This is why:
>
> --- on ipaq ---
> >>> import qt
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/tmp/arm-linux.20350/lib/python2.2/site-packages/qt.py", line 44,
> in ?
> ImportError: /usr/lib/libqte.so.2: undefined symbol: pnG_push_crc_finish
> ---
>
> Yo, welcome to the dynamic library hell... I guess libqte.so is trying
> to lookup this symbol from a PNG library... but wait: libqte is supposed
> to have the PNG included, isn't it? It seems the binary of the qte library
> in the ipaq familiar linux is not out of the box compatible with the qte
> library you used when compiling qte - which is a major problem for me...
> and which brings me to the important question:
> Phil, which qte library did you link against when compiling pyqte for the
> zaurus?
The Qtopia cross-development toolchain that Trolltech supplied to
entrants in the Zaurus competition.
As you know Qt/E can be built in many different ways with different
classes included or not depending on what the designer of the system has
to work with. It's quite possible (even likely) that the Qt/E for the
Zaurus is incompatible with the Qt/E for the iPAQ. However, the same
PyQt/E source should compile on both because it's clever enough to
handle the different features that have been enabled or disabled.
> On a (slightly related) side note: Does anyone know how to find out which
> compiler was used to compile a certain binary file?
>
> Did anyone manage to get a working PyQtE environment on the Compaq iPAQ
> yet? If so, how? I have just managed to get a working gcc environment
> on my iPAQ but I'm hesitating to compile all the stuff by hand... it would
> take ages...
I think you need to re-compile - but are you saying that there isn't a
cross-development toolchain for the iPAQ? I would question the sanity of
anybody using a PDA as a software development environment.
Phil
More information about the PyQt
mailing list