[PyKDE] PyQt for Qt _and_ Qt/E
Phil Thompson
phil at river-bank.demon.co.uk
Wed Aug 7 13:24:00 BST 2002
Michael Lauer wrote:
> Hi,
>
> we are working on an application which runs on iPAQs and
> x86 desktop PCs. It should adapt itself to the underlying environment
> by automatically choosing qt or qt/embedded. Now we have
> some kludges for this (e.g. seperate python installations), but what is
> the _recommended_ practice for this? Would it be easily possible to
> rename the Qt/Embedded modul to qte and thus switching by
> "import qt" / "import qte"? Or should I use PYTHONPATH tricks
> together with a qt/qte wrapper module which automaticall uses
> the "real" lowlevel libqtcmodule.so ?
>
> Please share your ideas with me.
You are implying that you are going to have both Qt and Qt/E installed
on both the PCs and the iPAQs - which doesn't seem to make much sense.
If not then it's only your app that cares and it should be able to
determine at run time what features are present or absent.
Or am I missing something?
Phil
More information about the PyQt
mailing list